mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:46:56 +01:00
969 B
969 B
title | description |
---|---|
updateMessageViews | View count of the message has changed |
Constructor: updateMessageViews
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, }