1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 06:56:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateChatTopMessage.md

39 lines
773 B
Markdown
Raw Normal View History

---
title: updateChatTopMessage
description: Top message of the chat has changed
---
## Constructor: updateChatTopMessage
[Back to constructors index](index.md)
Top message of the chat has changed
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|chat\_id|[long](../types/long.md) | Yes|Chat identifier|
|top\_message|[message](../types/message.md) | Yes|New top message of the chat, nullable|
### Type: [Update](../types/Update.md)
### Example:
```
$updateChatTopMessage = ['_' => 'updateChatTopMessage', 'chat_id' => long, 'top_message' => message, ];
```
Or, if you're into Lua:
```
updateChatTopMessage={_='updateChatTopMessage', chat_id=long, top_message=message, }
```