Get messages in a reply thread
messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesSlice#762b263d flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int search_flood:flags.3?SearchPostsFlood messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.channelMessages#c776ba4e flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> topics:Vector<ForumTopic> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesNotModified#74535f21 count:int = messages.Messages;
---functions---
messages.getReplies#22ddd30c peer:InputPeer msg_id:int offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;| Name | Type | Description | 
|---|---|---|
| peer | InputPeer | Peer | 
| msg_id | int | Message ID | 
| offset_id | int | Offsets for pagination, for more info click here | 
| offset_date | int | Offsets for pagination, for more info click here | 
| add_offset | int | Offsets for pagination, for more info click here | 
| limit | int | Maximum number of results to return, see pagination | 
| max_id | int | If a positive value was transferred, the method will return only messages with ID smaller than max_id | 
| min_id | int | If a positive value was transferred, the method will return only messages with ID bigger than min_id | 
| hash | long | Hash used for caching, for more info click here | 
| Code | Type | Description | 
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. | 
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. | 
| 400 | MSG_ID_INVALID | Invalid message ID provided. | 
| 400 | PEER_ID_INVALID | The provided peer id is invalid. | 
| 400 | TOPIC_ID_INVALID | The specified topic ID is invalid. | 
How to fetch results from large lists of objects.