mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
31 lines
744 B
Markdown
31 lines
744 B
Markdown
---
|
|
title: "messageRange"
|
|
description: "Indicates a range of chat messages"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: messageRange
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Indicates a range of chat messages
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|min\_id|[int](/API_docs/types/int.html) | Yes|Start of range (message ID)|
|
|
|max\_id|[int](/API_docs/types/int.html) | Yes|End of range (message ID)|
|
|
|
|
|
|
|
|
### Type: [MessageRange](/API_docs/types/MessageRange.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int];
|
|
```
|