read_business_message()

async Client.read_business_message()

Mark an incoming message as read on behalf of a managed business account.

Requires the can_read_messages business bot right.

Usable by Users Bots
Parameters:
  • business_connection_id (str) – Unique identifier of the business connection.

  • chat_id (int | str) – Unique identifier (int) or username (str) of the chat the message belongs to.

  • message_id (int) – Identifier of the message to mark as read.

Returns:

bool – True on success.

Example

await app.read_business_message(connection_id, chat_id, message_id)