MadelineProto/docs/API_docs/constructors/botInfo.md

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