mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 08:16:54 +01:00
38 lines
549 B
Markdown
38 lines
549 B
Markdown
|
---
|
||
|
title: messageGame
|
||
|
description: Message with a game
|
||
|
---
|
||
|
## Constructor: messageGame
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Message with a game
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|:-------------:|:--------:|------------:|
|
||
|
|game|[game](../types/game.md) | Yes|The game|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [MessageContent](../types/MessageContent.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$messageGame = ['_' => 'messageGame', 'game' => game, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
messageGame={_='messageGame', game=game, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|