setAuthorization

abstract fun setAuthorization(authorization: Authorization): ChatBuilder

Sets authorization for newly created instance of the chat. It's used in the case where Authorization is enabled in the backend configuration.

Defaults to Authorization.None.