web.telegram.org
Mark a Telegram conversation read or unread
Input
peerId requiredThe conversation, as web.telegram.org/get_inbox returns it. It must be among the conversations the chat list shows first: this never opens the conversation, which would mark it read by itself.
unread optionalfalse to mark the conversation read; true to mark it unread again.
Default: falseOutput
peerId requiredchanged requiredFalse when it was already in the asked state, and nothing was clicked.
unreadNow requiredThe conversation's state after the run, read back from the chat list.
account_used requiredaccountId optionalchatTitle optional