Mark as read
Reading, watching, and downloading never mark messages as read. To send a read
receipt, run line read. Others in the chat will see Read:
line read "Alice"
line read CHAT_ID --message MESSAGE_ID --jsonWithout --message, the chat is marked read up to the newest message from
someone else among the latest 50. If there is none, nothing is sent and the
command fails with message_not_found. With --message, the message must be in
that chat (found the same way as for reactions) and from someone else; you can't
mark your own messages.
Run line read in a terminal without a chat to pick one. Chats with unread
messages are listed first, and you confirm before anything is sent.
Like other remote changes, the receipt uses a saved request sequence and is
attempted once. If the outcome is unknown, check LINE before running it again.
--read-only blocks it. The JSON result has action: "read", chat_id,
message_id, and request_sequence.