44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
---
|
|
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:
|
|
|
|
```
|
|
$inlineKeyboardButtonTypeCallbackGame = ['_' => 'inlineKeyboardButtonTypeCallbackGame'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "inlineKeyboardButtonTypeCallbackGame"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
inlineKeyboardButtonTypeCallbackGame={_='inlineKeyboardButtonTypeCallbackGame'}
|
|
|
|
```
|
|
|
|
|