mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 13:27:21 +01:00
43 lines
622 B
Markdown
43 lines
622 B
Markdown
|
---
|
||
|
title: inputMessageID
|
||
|
description: inputMessageID attributes, type and example
|
||
|
---
|
||
|
## Constructor: inputMessageID
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|id|[int](../types/int.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [InputMessage](../types/InputMessage.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$inputMessageID = ['_' => 'inputMessageID', 'id' => int];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "inputMessageID", "id": int}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
inputMessageID={_='inputMessageID', id=int}
|
||
|
|
||
|
```
|
||
|
|
||
|
|