createChatRoom

abstract fun createChatRoom(title: String? = null, visibility: Visibility? = null, tokenGates: List<ChatRoomTokenGate>? = null, liveLikeCallback: LiveLikeCallback<ChatRoom>)

Creates a new chat room with the specified parameters.

Parameters

title

The title or name of the chat room. Can be null.

visibility

The visibility setting for the chat room (e.g., public, private, etc.). Can be null.

tokenGates

A list of token gates that control access to the chat room. Can be null.

liveLikeCallback

A callback to handle the result of the chat room creation, typically returning the created chat room object.