MessageView

data class MessageView(val cid: Cid, val uri: AtUri, val author: ProfileViewBasic, val badges: List<BadgeView>? = null, val record: JsonContent, val deleted: Boolean? = null, val replyTo: MessageViewReplyToUnion? = null, val indexedAt: Timestamp, val chatProfile: Profile? = null)

Parameters

badges

Up to 3 badge tokens to display with the message. First badge is server-controlled, remaining badges are user-settable. Tokens are looked up in badges.json for display info.

deleted

If true, this message has been deleted or labeled and should be cleared from the cache

Constructors

Link copied to clipboard
constructor(cid: Cid, uri: AtUri, author: ProfileViewBasic, badges: List<BadgeView>? = null, record: JsonContent, deleted: Boolean? = null, replyTo: MessageViewReplyToUnion? = null, indexedAt: Timestamp, chatProfile: Profile? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Up to 3 badge tokens to display with the message. First badge is server-controlled, remaining badges are user-settable. Tokens are looked up in badges.json for display info.

Link copied to clipboard
Link copied to clipboard
val cid: Cid
Link copied to clipboard

If true, this message has been deleted or labeled and should be cleared from the cache

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uri: AtUri