MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateDialogUnreadMark.md
2019-12-27 17:48:04 +01: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}