MadelineProtoDocs/old_docs/API_docs_v75/constructors/messageRange.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

44 lines
782 B
Markdown

---
title: messageRange
description: messageRange attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageRange
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|min\_id|[int](../types/int.md) | Yes|
|max\_id|[int](../types/int.md) | Yes|
### Type: [MessageRange](../types/MessageRange.md)
### Example:
```php
$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageRange", "min_id": int, "max_id": int}
```
Or, if you're into Lua:
```lua
messageRange={_='messageRange', min_id=int, max_id=int}
```