2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: messageEntityBotCommand
|
|
|
|
description: messageEntityBotCommand attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: messageEntityBotCommand
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|offset|[int](../types/int.md) | Yes|
|
|
|
|
|length|[int](../types/int.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [MessageEntity](../types/MessageEntity.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ];
|
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|