MessageView

data class MessageView(val id: String, val rev: String, val text: String, val facets: List<Facet> = emptyList(), val embed: MessageViewEmbedUnion? = null, val reactions: List<ReactionView> = emptyList(), val sender: MessageViewSender, val sentAt: Timestamp)

Parameters

facets

Annotations of text (mentions, URLs, hashtags, etc)

reactions

Reactions to this message, in ascending order of creation time.

Constructors

Link copied to clipboard
constructor(id: String, rev: String, text: String, facets: List<Facet> = emptyList(), embed: MessageViewEmbedUnion? = null, reactions: List<ReactionView> = emptyList(), sender: MessageViewSender, sentAt: Timestamp)

Properties

Link copied to clipboard
Link copied to clipboard

Annotations of text (mentions, URLs, hashtags, etc)

Link copied to clipboard
val id: String
Link copied to clipboard

Reactions to this message, in ascending order of creation time.

Link copied to clipboard
val rev: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard