1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 21:27:48 +01:00
MadelineProto/docs/API_docs/constructors/botInfo.md

20 lines
459 B
Markdown
Raw Normal View History

## Constructor: botInfo
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
|description|[string](../types/string.md) | Required|
|commands|Array of [BotCommand](../types/BotCommand.md) | Required|
2016-12-19 18:56:05 +01:00
### Type: [BotInfo](../types/BotInfo.md)
### Example:
```
2016-12-19 17:48:27 +01:00
$botInfo = ['_' => botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ];
```