MadelineProto/docs/API_docs/constructors/botInfo.md

19 lines
458 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|
### Type: [BotInfo](../types/BotInfo.md)
### Example:
```
2016-12-19 17:48:27 +01:00
$botInfo = ['_' => botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ];
```