messages.getReplies

Get messages in a reply thread

messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesSlice#3a54685e flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.channelMessages#64479808 flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesNotModified#74535f21 count:int = messages.Messages;
---functions---
messages.getReplies#24b581ba peer:InputPeer msg_id:int offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages;

Parameters

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 int Hash for pagination, for more info click here

Result

messages.Messages

Bots can use this method

Related pages

Pagination in the API

How to fetch results from large lists of objects.