mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
2e9d7e625e
Adds server-side group and channel management, private invitations, member moderation, avatar handling, and required-channel configuration. This change also introduces SignalR group profile/member notifications, updates registration to atomically join required channels, and adds EF migration and test coverage for group membership, permissions, and invitation expiry rules.
19 lines
861 B
C#
19 lines
861 B
C#
using Govor.Contracts.Responses.SignalR;
|
|
|
|
namespace Govor.API.Hubs.Infrastructure;
|
|
|
|
public interface IChatNotificationService
|
|
{
|
|
Task NotifyMessageSentAsync(UserMessageResponse message);
|
|
Task<bool> DeliverPushAsync(UserMessageResponse message);
|
|
Task NotifyMessageWasReadAsync(MessageReadResponse response);
|
|
Task NotifyChatReadAsync(ChatReadResponse response);
|
|
Task NotifyMessageReactionsChangedAsync(MessageReactionsChangedResponse response);
|
|
Task NotifyChannelReactionPolicyChangedAsync(ChannelReactionPolicyResponse response);
|
|
Task NotifyMessageRemovedAsync(MessageRemovedResponse response);
|
|
Task NotifyMessageEditedAsync(MessageEditResponse response);
|
|
Task NotifyGroupProfileChangedAsync(Guid groupId);
|
|
Task NotifyGroupMemberChangedAsync(Guid groupId, Guid userId);
|
|
Task NotifyUserJoinedGroupsAsync(Guid userId);
|
|
}
|