MadelineProtoDocs/old_docs/API_docs_v30/constructors/updateDialogUnreadMark.md
2020-06-16 17:50:25 +02:00

864 B

title description image
updateDialogUnreadMark The manual unread mark of a chat was changed https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateDialogUnreadMark

Back to constructors index

The manual unread mark of a chat was changed

Attributes:

Name Type Required Description
unread Bool Optional Was the chat marked or unmarked as read
peer DialogPeer Yes The dialog

Type: Update

Example:

$updateDialogUnreadMark = ['_' => 'updateDialogUnreadMark', 'unread' => Bool, 'peer' => DialogPeer];

Or, if you're into Lua:

updateDialogUnreadMark={_='updateDialogUnreadMark', unread=Bool, peer=DialogPeer}