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

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], ];
```