pub struct SendGameBuilder<'a> {
pub business_connection_id: Option<String>,
pub chat_id: i64,
pub message_thread_id: Option<i64>,
pub game_short_name: String,
pub disable_notification: Option<bool>,
pub protect_content: Option<bool>,
pub message_effect_id: Option<String>,
pub reply_parameters: Option<ReplyParameters>,
pub reply_markup: Option<InlineKeyboardMarkup>,
/* private fields */
}Fields§
§business_connection_id: Option<String>Unique identifier of the business connection on behalf of which the message will be sent
chat_id: i64Unique identifier for the target chat
message_thread_id: Option<i64>Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
game_short_name: StringShort name of the game, serves as the unique identifier for the game. Set up your games via @BotFather.
disable_notification: Option<bool>Sends the message silently. Users will receive a notification with no sound.
protect_content: Option<bool>Protects the contents of the sent message from forwarding and saving
message_effect_id: Option<String>Unique identifier of the message effect to be added to the message; for private chats only
reply_parameters: Option<ReplyParameters>Description of the message to reply to
reply_markup: Option<InlineKeyboardMarkup>A JSON-serialized object for an inline keyboard. If empty, one ‘Play game_title’ button will be shown. If not empty, the first button must launch the game.