Click or drag to resize
ChatNotificationHelper Class
Helper class for chat notifications.
Inheritance Hierarchy
SystemObject
  CMS.ChatChatNotificationHelper

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
public static class ChatNotificationHelper

The ChatNotificationHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAcceptInvitation
Accepts invitation. Sets notification as read. Inserts notification about accepting invitation and gives Join right to room (if room is private).
Public methodStatic memberCloseAllChatNotifications
Closes all current user's notifications (current user is receiver) which arrived before specified time.
Public methodStatic memberDeclineInvitation
Declines invitation.
Public methodStatic memberGetNotifications
Gets notification belonging to specified user changed since since.
Public methodStatic memberInsertChatNotification
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!
Public methodStatic memberMarkAsReadChatNotification
Closes (marks as read) the passed notification unless it is already read.
Public methodStatic memberSendInvitationToRoom(ChatRoomInfo, ChatUserInfo, ChatUserInfo)
Inserts notification of type Invitation.
Public methodStatic memberSendInvitationToRoom(ChatRoomInfo, ChatUserInfo, Int32)
Inserts notification of type Invitation.
Top
See Also