POST /sendGame

Use this method to send a game. On success, the sent Message is returned.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
game_short_name String Yes

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

reply_markup Object No

This object represents an inline keyboard that appears right next to the message it belongs to.

reply_markup.inline_keyboard[] Array Yes

Array of button rows, each represented by an Array of InlineKeyboardButton objects

disable_notification Boolean No

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

allow_sending_without_reply Boolean No

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

chat_id Integer Yes

Unique identifier for the target chat

reply_to_message_id Integer No

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

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.