read_message_contents()

async Client.read_message_contents()

Mark the content of messages as read (e.g., mark voice notes as listened).

Usable by Users Bots
Parameters:

message_ids (List of int) – The IDs of the messages to mark as read.

Returns:

AffectedMessages – The affected messages.

Example

await app.read_message_contents([123, 456])