mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 03:36:55 +01:00
912 B
912 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}