MadelineProtoDocs/old_docs/API_docs_v26/constructors/messageRange.md
2020-06-16 17:50:25 +02:00

770 B

title description image
messageRange Indicates a range of chat messages https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageRange

Back to constructors index

Indicates a range of chat messages

Attributes:

Name Type Required Description
min_id int Yes Start of range (message ID)
max_id int Yes End of range (message ID)

Type: MessageRange

Example:

$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int];

Or, if you're into Lua:

messageRange={_='messageRange', min_id=int, max_id=int}