Config
@Immutable
Constructors
Link copied to clipboard
constructor(createdAt: Date? = null, updatedAt: Date? = null, name: String = "", typingEventsEnabled: Boolean = true, readEventsEnabled: Boolean = true, connectEventsEnabled: Boolean = true, searchEnabled: Boolean = true, isReactionsEnabled: Boolean = true, isThreadEnabled: Boolean = true, muteEnabled: Boolean = true, uploadsEnabled: Boolean = true, urlEnrichmentEnabled: Boolean = true, customEventsEnabled: Boolean = false, pushNotificationsEnabled: Boolean = true, messageRetention: String = "infinite", maxMessageLength: Int = 5000, automod: String = "disabled", automodBehavior: String = "", blocklistBehavior: String = "", commands: List<Command> = mutableListOf())
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Determines if events are fired for connecting and disconnecting to a chat. Enabled by default.
Link copied to clipboard
Link copied to clipboard
If users are allowed to add reactions to messages. Enabled by default.
Link copied to clipboard
Enables message threads. Enabled by default.
Link copied to clipboard
The max message length. 5000 by default.
Link copied to clipboard
A number of days or infinite. "Infinite" by default.
Link copied to clipboard
Determines if users are able to mute other users. Enabled by default.
Link copied to clipboard
Link copied to clipboard
Controls whether the chat shows how far you’ve read. Enabled by default.
Link copied to clipboard
Controls if messages should be searchable (this is a premium feature). Disabled by default.
Link copied to clipboard
Controls if typing indicators are shown. Enabled by default.
Link copied to clipboard
Allows image and file uploads within messages. Enabled by default.
Link copied to clipboard
Determines if URL enrichment enabled to show they as attachments. Enabled by default.