PreparedInlineMessage

@Serializable
data class PreparedInlineMessage(val id: String, val expirationDate: Instant)

Describes an inline message to be sent by a user of a Mini App.

Api reference

Constructors

Link copied to clipboard
constructor(id: String, expirationDate: Instant)

Properties

Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val expirationDate: Instant

Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used

Link copied to clipboard
val id: String

Unique identifier of the prepared message