19 lines
443 B
Markdown
19 lines
443 B
Markdown
## 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:
|
|
|
|
|
|
```
|
|
$botInfo = ['user_id' => int, 'description' => string, 'commands' => [BotCommand], ];
|
|
``` |