MadelineProto/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md

44 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: inlineKeyboardButtonTypeCallbackGame
description: A button with a game which sends to the bot special callback query, must be in the first column and row of the keyboard, can be attached only to a message with content of the type messageGame
---
## Constructor: inlineKeyboardButtonTypeCallbackGame
[Back to constructors index](index.md)
A button with a game which sends to the bot special callback query, must be in the first column and row of the keyboard, can be attached only to a message with content of the type messageGame
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
### Type: [InlineKeyboardButtonType](../types/InlineKeyboardButtonType.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$inlineKeyboardButtonTypeCallbackGame = ['_' => 'inlineKeyboardButtonTypeCallbackGame'];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "inlineKeyboardButtonTypeCallbackGame"}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
inlineKeyboardButtonTypeCallbackGame={_='inlineKeyboardButtonTypeCallbackGame'}
```