1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:06:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateMessageViews.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

966 B

title description
updateMessageViews View count of the message has changed

Constructor: updateMessageViews

Back to constructors index

View count of the message has changed

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
message_id long Yes Message identifier
views int Yes New value of view count

Type: Update

Example:

$updateMessageViews = ['_' => 'updateMessageViews', 'chat_id' => long, 'message_id' => long, 'views' => int];

PWRTelegram json-encoded version:

{"_": "updateMessageViews", "chat_id": long, "message_id": long, "views": int}

Or, if you're into Lua:

updateMessageViews={_='updateMessageViews', chat_id=long, message_id=long, views=int}