Ephemeral

@Serializable(with = ReplyParameters.Serializer::class)
data class Ephemeral(val ephemeralMessageId: EphemeralMessageId, val allowSendingWithoutReply: Boolean? = null, val checklistTaskId: ChecklistTaskId? = null, val pollOptionId: PollOptionPersistentId? = null) : ReplyParameters(source)

Reply parameters targeting an incoming ephemeral message identified by ephemeralMessageId. The outgoing reply must also be ephemeral; chat and quote fields are unsupported for ephemeral replies. Type-neutral construction is available through the ReplyParameters(...) companion factory.

Constructors

Link copied to clipboard
constructor(ephemeralMessageId: EphemeralMessageId, allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null)

Properties

Link copied to clipboard
open override val allowSendingWithoutReply: Boolean?
Link copied to clipboard
open override val checklistTaskId: ChecklistTaskId?
Link copied to clipboard
open override val messageId: MessageId? = null
Link copied to clipboard