report_messages_delivery()

async Client.report_messages_delivery()

Report successful delivery of messages (for analytics).

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

  • message_ids (List of int) – The IDs of the delivered messages.

  • push (bool, optional) – Whether the messages were delivered via push notification.

Returns:

bool – True on success.

Example

await app.report_messages_delivery(chat_id, [123, 456])