mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 12:26:55 +01:00
29 lines
578 B
Markdown
29 lines
578 B
Markdown
---
|
|
title: botInfo
|
|
description: botInfo attributes, type and example
|
|
---
|
|
## Constructor: botInfo
|
|
[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|
|
|
|
|
|
|
|
|
### Type: [BotInfo](../types/BotInfo.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ];
|
|
```
|
|
|