MadelineProto/docs/TD_docs/constructors/updateChatTopMessage.md

773 B

title description
updateChatTopMessage Top message of the chat has changed

Constructor: updateChatTopMessage

Back to constructors index

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, ];

Or, if you're into Lua:

updateChatTopMessage={_='updateChatTopMessage', chat_id=long, top_message=message, }