ChatToken

data class ChatToken(    val token: String,     val sessionExpirationTime: Date?,     val tokenExpirationTime: Date?)

Represents IVS chat token to be used to establish room connection. This should be fetched through your backend for security purposes from IVS Chat API.

See also

Constructors

Link copied to clipboard
fun ChatToken(    token: String,     sessionExpirationTime: Date?,     tokenExpirationTime: Date?)

Properties

Link copied to clipboard
val sessionExpirationTime: Date?

Time after which an end user's session is no longer valid

Link copied to clipboard
val token: String

Encrypted IVS token used to establish a web socket connection to a room

Link copied to clipboard
val tokenExpirationTime: Date?

Time after which the token is no longer valid and cannot be used to connect to a room