SendDice

@Serializable
data class SendDice(val chatId: ChatIdentifier, val animationType: DiceAnimationType? = null, val threadId: MessageThreadId?, val disableNotification: Boolean = false, val protectContent: Boolean = false, val replyParameters: ReplyParameters? = null, val replyMarkup: KeyboardMarkup? = null) : ReplyingMarkupSendMessageRequest<ContentMessage<DiceContent>> , WithReplyParameters, DisableNotification

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, animationType: DiceAnimationType? = null, threadId: MessageThreadId?, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null)

Properties

Link copied to clipboard
open override val allowSendingWithoutReply: Boolean?
Link copied to clipboard
@SerialName(value = "emoji")
val animationType: DiceAnimationType? = null
Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "disable_notification")
open override val disableNotification: Boolean = false
Link copied to clipboard
@SerialName(value = "protect_content")
open override val protectContent: Boolean = false
Link copied to clipboard
@SerialName(value = "reply_markup")
open override val replyMarkup: KeyboardMarkup? = null
Link copied to clipboard
@SerialName(value = "reply_parameters")
open override val replyParameters: ReplyParameters? = null
Link copied to clipboard
open override val replyToMessageId: MessageId?
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<DiceContent>>
Link copied to clipboard
@SerialName(value = "message_thread_id")
open override val threadId: MessageThreadId?

Functions

Link copied to clipboard
open override fun method(): String