Represents a request to disconnect another user from the chat room.

Remarks

Sending this request to a chat room requires DISCONNECT_USER capability encoded in chat token. Otherwise, server will respond with error code 403 (chatErrorCodes).

Hierarchy

  • DisconnectUserRequest

Constructors

Properties

Constructors

Properties

reason?: string

Reason for disconnecting the user.

requestId: string

Client-generated unique identifier (UUID) that will be used by the SDK to match response or error for given request.

userId: string

Identifier of the user to be disconnected.

Generated using TypeDoc