ChatNotificationHelper Class |
Namespace: CMS.Chat
public static class ChatNotificationHelper
The ChatNotificationHelper type exposes the following members.
Name | Description | |
---|---|---|
AcceptInvitation |
Accepts invitation.
Sets notification as read. Inserts notification about accepting invitation and gives Join right to room (if room is private).
| |
CloseAllChatNotifications |
Closes all current user's notifications (current user is receiver) which arrived before specified time.
| |
DeclineInvitation |
Declines invitation.
| |
GetNotifications |
Gets notification belonging to specified user changed since since.
| |
InsertChatNotification |
Inserts new notification to the database. If there is already an unread notification with the same sender, receiver and roomID, the new one is not inserted!
| |
MarkAsReadChatNotification |
Closes (marks as read) the passed notification unless it is already read.
| |
SendInvitationToRoom(ChatRoomInfo, ChatUserInfo, ChatUserInfo) |
Inserts notification of type Invitation.
| |
SendInvitationToRoom(ChatRoomInfo, ChatUserInfo, Int32) |
Inserts notification of type Invitation.
|