MadelineProto/docs/TD_docs/constructors/updateMessageViews.md
2017-07-23 16:11:02 +02:00

969 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, }