messages.getReplies
Get messages in a reply thread
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Peer |
msg_id | int | Yes | Message ID |
offset_id | int | Yes | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |
offset_date | int | Yes | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |
add_offset | int | Yes | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |
limit | int | Yes | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
max_id | int | Yes | If a positive value was transferred, the method will return only messages with ID smaller than max_id |
min_id | int | Yes | If a positive value was transferred, the method will return only messages with ID bigger than min_id |
hash | long | Yes | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation) |
Replies
messages.Messages
MTProto RPC
- 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.