mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 19:17:48 +01:00
30 lines
601 B
Markdown
30 lines
601 B
Markdown
---
|
|
title: MTmessage
|
|
description: MTmessage attributes, type and example
|
|
---
|
|
## Constructor: MTmessage
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|msg\_id|[long](../types/long.md) | Required|
|
|
|seqno|[int](../types/int.md) | Required|
|
|
|bytes|[int](../types/int.md) | Required|
|
|
|body|[Object](../types/Object.md) | Required|
|
|
|
|
|
|
|
|
### Type: [MTMessage](../types/MTMessage.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$MTmessage = ['_' => 'MTmessage', 'msg_id' => long, 'seqno' => int, 'bytes' => int, 'body' => Object, ];
|
|
```
|
|
|