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

997 B

title description image
updateEncryptedMessagesRead Communication history in an encrypted chat was marked as read. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateEncryptedMessagesRead

Back to constructors index

Communication history in an encrypted chat was marked as read.

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
max_date int Yes Maximum value of data for read messages
date int Yes Time when messages were read

Type: Update

Example:

$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int];

Or, if you're into Lua:

updateEncryptedMessagesRead={_='updateEncryptedMessagesRead', chat_id=int, max_date=int, date=int}