get_discussion_replies_count()

Client.get_discussion_replies_count()

Get the total count of replies in 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.

Example

count = await app.get_discussion_replies_count(chat_id, message_id)