Chat events - Softeq/NetKit.Chat.SignalRClient GitHub Wiki
OnConnectedAsync
-
OnDisconnectedAsync
-
GetClientAsync
-
AddClientAsync
-
DeleteClientAsync
-
AddMessageAsync
- MessageAdded (all except caller connectionId). MessageResponse
DeleteMessageAsync
- MessageDeleted (all connections related to channel members). MessageId
- ChannelUpdated (all connections related to channel members). ChannelSummary
UpdateMessageAsync
- MessageUpdated (all connections related to channel members). MessageResponse
MarkAsReadMessageAsync
- LastReadMessageChanged (all connections related to channel members (TODO except caller connectionIds)). ChannelId
InviteMemberAsync
- MemberJoined (added member connectionsIds). Personalized ChannelSummaryResponse
- System Message - MemberJoined - MessageAdded (all connections related to channel members). MessageResponse
InviteMultipleMembersAsync
- MemberJoined (all connections related to channel members). MemberSummaryResponse, ChannelSummaryResponse
DeleteMemberAsync (only for group chat)
- MemberLeft (all connections related to deleted member). ChannelId
- System Message - MemberDeleted - MessageAdded (all except deleted member connectionIds). MessageResponse
CreateChannelAsync
- MemberJoined (all connections related to channel members except caller connectionId). Personalized ChannelSummaryResponse
CreateDirectChannelAsync
- MemberJoined (all connections related to channel members (TODO except caller connectionId)). Personalized ChannelSummaryResponse
UpdateChannelAsync
- ChannelUpdated (all connections related to channel members (TODO except caller connectionId)). ChannelSummaryResponse
- System Message (Conditional (name changed, photo changed)) - MessageAdded (all connections related to channel members). MessageResponse
CloseChannelAsync
- ChannelClosed (all connections related to channel members). ChannelId
LeaveChannelAsync
- MemberLeft (all caller connectionIds). ChannelId
- System Message - MemberLeft - MessageAdded (all except left member connections). MessageResponse
MuteChannelAsync
-
PinChannelAsync
-