Site

data class Site(val channelId: String, val siteName: String, val previewText: String, val previewTimestamp: String?, val headerTitle: String, val subheaderTitle: String, val hasUnseenMessages: Boolean, val deletedTimestamp: String?, val siteId: String, val storeCode: String) : ChatChannel

Represents a Site channel for direct communication with a site.

Constructors

Link copied to clipboard
constructor(channelId: String, siteName: String, previewText: String, previewTimestamp: String?, headerTitle: String, subheaderTitle: String, hasUnseenMessages: Boolean, deletedTimestamp: String?, siteId: String, storeCode: String)

Types

Link copied to clipboard
object Companion

Companion object for Site channel utilities.

Properties

Link copied to clipboard
open override val channelId: String

Unique identifier for the channel.

Link copied to clipboard
open override val deletedTimestamp: String?

Timestamp when the channel was deleted. Null if the channel is active.

Link copied to clipboard
open override val hasUnseenMessages: Boolean

Indicates whether there are unread messages in the channel.

Link copied to clipboard
open override val headerTitle: String

Main title displayed for the channel.

Link copied to clipboard
open override val previewText: String

A short preview of the last message in the channel.

Link copied to clipboard
open override val previewTimestamp: String?

Timestamp of the last message. Null if the channel has no messages.

Link copied to clipboard

Unique identifier for the site.

Link copied to clipboard
open override val siteName: String

Name of the site associated with the channel.

Link copied to clipboard
Link copied to clipboard
open override val subheaderTitle: String

Secondary title or additional information about the channel.