37 lines
989 B
Markdown
37 lines
989 B
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', ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
inlineKeyboardButtonTypeCallbackGame={_='inlineKeyboardButtonTypeCallbackGame', }
|
|
|
|
```
|
|
|
|
|