Disconnect User Request
data class DisconnectUserRequest @JvmOverloads constructor(val userId: String, val reason: String? = null)
Content copied to clipboard
Represents a request to disconnect another user in the chat room.
Sending this request to a chat room requires DISCONNECT_USER capability in chat token. Otherwise server will respond with error code 403.
Parameters
user Id
Unique identifier of the user to be disconnected
reason
Reason for performing disconnect user action
Constructors
Link copied to clipboard
Constructs the request instance