Click or drag to resize
IChatServiceInviteToRoom Method
Invites user to the chat room. Invitation is inserted into the second user's notifications. Second user can enter the room after accepting the invitation. Current user has to have admin rights to the room to invite.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
ChatGeneralResponse InviteToRoom(
	int roomID,
	int chatUserID
)

Parameters

roomID
Type: SystemInt32
Room id
chatUserID
Type: SystemInt32
Chat user id to invite

Return Value

Type: ChatGeneralResponse
General response
See Also