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

31 lines
894 B
Markdown

---
title: "notifyForumTopic"
description: "Notifications generated by a topic in a forum."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: notifyForumTopic
[Back to constructors index](/API_docs/constructors/index.html)
Notifications generated by a [topic](https://core.telegram.org/api/forum#forum-topics) in a [forum](https://core.telegram.org/api/forum).
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peer|[long](/API_docs/types/long.html) | Yes|Forum ID|
|top\_msg\_id|[int](/API_docs/types/int.html) | Yes|[Topic ID](https://core.telegram.org/api/forum#forum-topics)|
### Type: [NotifyPeer](/API_docs/types/NotifyPeer.html)
### Example:
```
$notifyForumTopic = ['_' => 'notifyForumTopic', 'peer' => long, 'top_msg_id' => int];
```