MediaItem

data class MediaItem(val messageId: MessageId, val conversationId: ConversationId, val author: PublicKey, val createdAt: Long, val attachment: AttachmentMetadata)

One authenticated attachment projected into a bounded media gallery.

Constructors

Link copied to clipboard
constructor(messageId: MessageId, conversationId: ConversationId, author: PublicKey, createdAt: Long, attachment: AttachmentMetadata)

Properties

Link copied to clipboard

Authenticated bounded attachment metadata.

Link copied to clipboard

Authenticated message author.

Link copied to clipboard

Owning conversation.

Link copied to clipboard

Signed message timestamp in Unix seconds.

Link copied to clipboard

Owning logical message.