get_discussion_replies_count()

async 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.

  • message_id (int) – Message id.

Example

count = await app.get_discussion_replies_count(chat_id, message_id)