peyk.platforms.telegram.methods.read_business_message

async peyk.platforms.telegram.methods.read_business_message(self, business_connection_id: str, chat_id: int, message_id: int) bool

Marks incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success.

Parameters:
  • business_connection_id – Unique identifier of the business connection on behalf of which to read the message

  • chat_id – Unique identifier of the chat in which the message was received. The chat must have been active in the last 24 hours.

  • message_id – Unique identifier of the message to mark as read

Returns:

Result returned by Telegram on successful execution.

Return type:

bool