Interface ISendGameParams

Parameters for the sendGame method

Hierarchy

  • ISendGameParams

Properties

allow_sending_without_reply?: boolean

Pass True if the message should be sent even if the specified replied-to message is not found

chat_id: number

Unique identifier for the target chat

disable_notification?: boolean

Sends the message silently. Users will receive a notification with no sound.

game_short_name: string

Short name of the game, serves as the unique identifier for the game. Set up your games via @BotFather.

message_thread_id?: number

Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

protect_content?: boolean

Protects the contents of the sent message from forwarding and saving

reply_markup?: IInlineKeyboardMarkup

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.

reply_to_message_id?: number

If the message is a reply, ID of the original message

Generated using TypeDoc