Skip to content

sendGame

Sahri Riza Umami edited this page Dec 9, 2016 · 1 revision

Send game message.

sendGame(chat_id, reply_to_message_id, disable_notification, from_background, reply_markup, bot_user_id, game_short_name)
Option Description
chat_id Chat to send message.
reply_to_message_id Identifier of a message to reply to or 0.
disable_notification Pass true, to disable notification about the message.
from_background Pass true, if the message is sent from background.
reply_markup Bots only. Markup for replying to message.
bot_user_id User identifier of a bot owned the game.
game_short_name Game short name.

Example

sendGame(chat_id, 0, 0, 1, nil, 166035794, 'MathBattle')

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally