ChatRoom

data class ChatRoom(channels: Channels, clientId: String, createdAt: String, id: String, url: String, uploadUrl: String, title: String?, contentFilter: String?, reportMessageUrl: String, reportedMessagesUrl: String, membershipsUrl: String, stickerPacksUrl: String, reactionPacksUrl: String, visibility: Visibility?, mutedStatusUrlTemplate: String?, customData: String?, customMessagesUrl: String?, sponsorsUrl: String?, chatroomMessageUrl: String?, chatroomMessagesCountUrl: String?, tokenGates: List<ChatRoomTokenGate>?, deleteMessageUrl: String?)

Chat Rooms are abstraction over the chat providers in our infra

Constructors

ChatRoom
Link copied to clipboard
fun ChatRoom(channels: Channels, clientId: String, createdAt: String, id: String, url: String, uploadUrl: String, title: String?, contentFilter: String?, reportMessageUrl: String, reportedMessagesUrl: String, membershipsUrl: String, stickerPacksUrl: String, reactionPacksUrl: String, visibility: Visibility? = null, mutedStatusUrlTemplate: String? = null, customData: String? = null, customMessagesUrl: String? = null, sponsorsUrl: String? = null, chatroomMessageUrl: String? = null, chatroomMessagesCountUrl: String? = null, tokenGates: List<ChatRoomTokenGate>? = null, deleteMessageUrl: String? = null)

Functions

getChatChannel
Link copied to clipboard
fun getChatChannel(): String?
getControlChannel
Link copied to clipboard
fun getControlChannel(): String?

Properties

clientId
Link copied to clipboard
@SerializedName(value = client_id)
val clientId: String
contentFilter
Link copied to clipboard
@SerializedName(value = content_filter)
val contentFilter: String?
customData
Link copied to clipboard
@SerializedName(value = custom_data)
val customData: String? = null
id
Link copied to clipboard
@SerializedName(value = id)
val id: String
sponsorsUrl
Link copied to clipboard
@SerializedName(value = sponsors_url)
var sponsorsUrl: String? = null
title
Link copied to clipboard
@SerializedName(value = title)
val title: String?
tokenGates
Link copied to clipboard
@SerializedName(value = token_gates)
var tokenGates: List<ChatRoomTokenGate>? = null
visibility
Link copied to clipboard
@SerializedName(value = visibility)
val visibility: Visibility? = null