MessageInfo
data class MessageInfo(val id: String, val user: User, val type: String, val textMessage: TextMessage? = null, val customMessage: CustomMessage? = null, val entranceMessage: EntranceMessage? = null, val customCounter: CustomCounter? = null, val broadcastMessage: BroadcastMessage? = null, val pinUnpinMessage: PinUnpinMessage? = null, val blockUnblockUser: BlockUnblockUser? = null, val deleteMessage: DeleteMessage? = null, val viewerInfo: ViewerInfo? = null, val timestampCreatedAt: String, val timestampSentAt: String, val timestampReceivedAt: String, val timestampPublishedAt: String, val unixTimestampCreatedAt: Long, val unixTimestampSentAt: Long, val unixTimestampReceivedAt: Long, val unixTimestampPublishedAt: Long, val isLocalCustomMessage: Boolean? = false) : Parcelable
Represents information about a message.
Constructors
Link copied to clipboard
constructor(id: String, user: User, type: String, textMessage: TextMessage? = null, customMessage: CustomMessage? = null, entranceMessage: EntranceMessage? = null, customCounter: CustomCounter? = null, broadcastMessage: BroadcastMessage? = null, pinUnpinMessage: PinUnpinMessage? = null, blockUnblockUser: BlockUnblockUser? = null, deleteMessage: DeleteMessage? = null, viewerInfo: ViewerInfo? = null, timestampCreatedAt: String, timestampSentAt: String, timestampReceivedAt: String, timestampPublishedAt: String, unixTimestampCreatedAt: Long, unixTimestampSentAt: Long, unixTimestampReceivedAt: Long, unixTimestampPublishedAt: Long, isLocalCustomMessage: Boolean? = false)
Properties
Link copied to clipboard
Information about blocking/unblocking a user (nullable).
Link copied to clipboard
Broadcast message content (nullable).
Link copied to clipboard
Custom counter content (nullable).
Link copied to clipboard
Custom message content (nullable).
Link copied to clipboard
Information about deleting a message (nullable).
Link copied to clipboard
Entrance message content (nullable).
Link copied to clipboard
Link copied to clipboard
Information about pinning/unpinning a message (nullable).
Link copied to clipboard
Text message content (nullable).
Link copied to clipboard
Timestamp when the message was created.
Link copied to clipboard
Timestamp when the message was published.
Link copied to clipboard
Timestamp when the message was received.
Link copied to clipboard
Timestamp when the message was sent.
Link copied to clipboard
Unix timestamp when the message was created.
Link copied to clipboard
Unix timestamp when the message was published.
Link copied to clipboard
Unix timestamp when the message was received.
Link copied to clipboard
Unix timestamp when the message was sent.
Link copied to clipboard
Information about viewers (nullable).