MessageView

data class MessageView(val id: String, val rev: String, val text: String, val facets: List<Facet>? = null, val embed: MessageViewEmbedUnion? = null, val reactions: List<ReactionView>? = null, 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>? = null, embed: MessageViewEmbedUnion? = null, reactions: List<ReactionView>? = null, 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