DateBreakModel

open class DateBreakModel(val timestamp: Long) : ChatFeedEntry

A date separator inserted between messages sent on different calendar days.

The SDK automatically inserts these entries into the feed to visually group messages by date. They are not backed by a server entry and exist only for display purposes.

Parameters

timestamp

The epoch timestamp representing the start of the day this separator corresponds to.

Constructors

Link copied to clipboard
constructor(timestamp: Long)

Properties

Link copied to clipboard
override val contentType: String

Identifies the type of content this entry represents. For conversation entries this matches the ConversationEntryType name; for synthetic entries it matches an internal type name. Useful for filtering or logging entry types.

Link copied to clipboard
open override val keyId: String

A stable identifier for this entry within the feed, suitable for use as a list item key in Compose lazy lists or RecyclerView adapters.

Link copied to clipboard
open override val timestamp: Long