MessageView

constructor(id: String, rev: String, text: String, facets: List<Facet>? = null, embed: MessageViewEmbedUnion? = null, reactions: List<ReactionView>? = null, replyTo: MessageViewReplyToUnion? = null, sender: MessageViewSender, sentAt: Timestamp)

Parameters

facets

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

reactions

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

replyTo

If set, the message this message is replying to. The full view of the referenced message is embedded so the client can render it inline. Only a single level is embedded: the embedded message will not itself have a populated 'replyTo' field even if it was also a reply.