mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 20:56:54 +01:00
915 B
915 B
title | description |
---|---|
updateChatTopMessage | Top message of the chat has changed |
Constructor: updateChatTopMessage
Top message of the chat has changed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
chat_id | long | Yes | Chat identifier |
top_message | message | Yes | New top message of the chat, nullable |
Type: Update
Example:
$updateChatTopMessage = ['_' => 'updateChatTopMessage', 'chat_id' => long, 'top_message' => message, ];
PWRTelegram json-encoded version:
{"_":"updateChatTopMessage","chat_id":"long","top_message":"message"}
Or, if you're into Lua:
updateChatTopMessage={_='updateChatTopMessage', chat_id=long, top_message=message, }