MadelineProtoDocs/old_docs/API_docs_v86/constructors/messageRange.md
2019-12-27 17:48:04 +01: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}