CreateChatTokenRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Application-provided attributes to encode into the token and attach to a chat session. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total.

Link copied to clipboard

Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to view messages is implicitly included in all requests).

Link copied to clipboard

Identifier of the room that the client is trying to access. Currently this must be an ARN.

Link copied to clipboard

Session duration (in minutes), after which the session expires. Default: 60 (1 hour).

Link copied to clipboard

Application-provided ID that uniquely identifies the user associated with this token. This can be any UTF-8 encoded text.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String