messages.GetReplies
- class pyrogram.raw.functions.messages.GetReplies
Get messages in a reply thread
- Details:
Layer:
223ID:
22DDD30C
- Parameters:
peer (
InputPeer) – Peermsg_id (
int32-bit) – Message IDoffset_id (
int32-bit) – Offsets for pagination, for more info click hereoffset_date (
int32-bit) – Offsets for pagination, for more info click hereadd_offset (
int32-bit) – Offsets for pagination, for more info click herelimit (
int32-bit) – Maximum number of results to return, see paginationmax_id (
int32-bit) – If a positive value was transferred, the method will return only messages with ID smaller than max_idmin_id (
int32-bit) – If a positive value was transferred, the method will return only messages with ID bigger than min_idhash (
int64-bit) – Hash used for caching, for more info click here
- Returns:
TL Schema
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
Parameter Tree
GetReplies
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── msg_id →
int├── offset_id →
int├── offset_date →
int├── add_offset →
int├── limit →
int├── max_id →
int├── min_id →
int└── hash →
longExample
await app.invoke(
GetReplies(
peer=await app.resolve_peer(chat_id),
msg_id=0,
offset_id=0,
offset_date=0,
add_offset=0,
limit=0,
max_id=0,
min_id=0,
hash=0,
)
)