SendGame

@Serializable
data class SendGame(val chatId: ChatIdentifier, val gameShortName: String, val threadId: MessageThreadId? = chatId.threadId, val businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, val disableNotification: Boolean = false, val protectContent: Boolean = false, val allowPaidBroadcast: Boolean = false, val effectId: EffectId? = null, val replyParameters: ReplyParameters? = null, val replyMarkup: KeyboardMarkup? = null) : SendContentMessageRequest<ContentMessage<GameContent>> , WithReplyMarkup

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, gameShortName: String, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null)

Properties

Link copied to clipboard
@SerialName(value = "allow_paid_broadcast")
open override val allowPaidBroadcast: Boolean = false
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "business_connection_id")
open override val businessConnectionId: BusinessConnectionId?
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 = "message_effect_id")
open override val effectId: EffectId? = null
Link copied to clipboard
@SerialName(value = "game_short_name")
val gameShortName: String
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
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<GameContent>>
Link copied to clipboard
@SerialName(value = "message_thread_id")
open override val threadId: MessageThreadId?

Functions

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