MadelineProto/docs/API_docs/constructors/botInfo.md

26 lines
523 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
title: botInfo
---
## Constructor: botInfo
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### 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], ];
```