Click or drag to resize
ChatNotificationHelperAcceptInvitation Method
Accepts invitation. Sets notification as read. Inserts notification about accepting invitation and gives Join right to room (if room is private).

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
public static ChatRoomData AcceptInvitation(
	ChatNotificationInfo notification
)

Parameters

notification
Type: CMS.ChatChatNotificationInfo
Invitation to accept

Return Value

Type: ChatRoomData
Invitation to this room was accepted (or null if it is one to one). This is used to display room immediatelly on the client side.
See Also