Click or drag to resize
ChatServiceInviteToRoom 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: 9.0.0
Syntax
C#
public 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

Implements

IChatServiceInviteToRoom(Int32, Int32)
See Also