MadelineProtoDocs/docs/API_docs/constructors/messageActionTopicEdit.md
2024-05-01 14:53:46 +02:00

33 lines
1.2 KiB
Markdown

---
title: "messageActionTopicEdit"
description: "Forum topic information was edited."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionTopicEdit
[Back to constructors index](/API_docs/constructors/index.html)
[Forum topic](https://core.telegram.org/api/forum#forum-topics) information was edited.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|title|[string](/API_docs/types/string.html) | Optional|New topic title.|
|icon\_emoji\_id|[long](/API_docs/types/long.html) | Optional|ID of the new [custom emoji](https://core.telegram.org/api/custom-emoji) used as topic icon, or if it was removed.|
|closed|[Bool](/API_docs/types/Bool.html) | Optional|Whether the topic was opened or closed.|
|hidden|[Bool](/API_docs/types/Bool.html) | Optional|Whether the topic was hidden or unhidden (only valid for the "General" topic, `id=1`).|
### Type: [MessageAction](/API_docs/types/MessageAction.html)
### Example:
```
$messageActionTopicEdit = ['_' => 'messageActionTopicEdit', 'title' => 'string', 'icon_emoji_id' => long, 'closed' => Bool, 'hidden' => Bool];
```