MessageData

data class MessageData(var id: MessageId, var clientKey: ULong, var deliveryCursor: String? = null, var conversationId: ConversationId, var topic: String, var senderInboxId: InboxId, var sentAt: Timestamp, var insertedAt: Timestamp, var expiresAt: Timestamp?, var kind: MessageKind, var deliveryStatus: DeliveryStatus, var rawBytes: ByteArray, var contentType: ContentTypeId?, var fallback: String?, var encoded: EncodedContent?, var content: MessageContent, var replyCount: ULong, var reactions: List<ReactionMessage>, var inReplyTo: ReplyParent?)

A message value contains records and enums only.

Constructors

Link copied to clipboard
constructor(id: MessageId, clientKey: ULong, deliveryCursor: String? = null, conversationId: ConversationId, topic: String, senderInboxId: InboxId, sentAt: Timestamp, insertedAt: Timestamp, expiresAt: Timestamp?, kind: MessageKind, deliveryStatus: DeliveryStatus, rawBytes: ByteArray, contentType: ContentTypeId?, fallback: String?, encoded: EncodedContent?, content: MessageContent, replyCount: ULong, reactions: List<ReactionMessage>, inReplyTo: ReplyParent?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The received type, when the envelope has a readable type field.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Uncompressed codec input. Absent if conversion or decompression fails.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The original received serialization. Empty after deletion.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int