Click or drag to resize
ChatServiceAddAdmin Method
Adds admin to the room. Only admin can do it.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public ChatGeneralResponse AddAdmin(
	int roomID,
	int chatUserToAddID
)

Parameters

roomID
Type: SystemInt32
Room ID
chatUserToAddID
Type: SystemInt32
Chat user who will become admin

Return Value

Type: ChatGeneralResponse
ChatGeneralResponse

Implements

IChatServiceAddAdmin(Int32, Int32)
See Also