get_discussion_replies()¶
- Client.get_discussion_replies()¶
Get the message replies of a discussion thread.
Usable by Users Bots
- Parameters:¶
chat_id (
int
|str
) – Unique identifier (int) or username (str) of the target chat. You can also use chat public link in form of t.me/<username> (str).message_id (
int
) – Message id.limit (
int
, optional) – Limits the number of messages to be retrieved. By default, no limit is applied and all messages are returned.
Example
async for message in app.get_discussion_replies(chat_id, message_id): print(message)