mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
31 lines
894 B
Markdown
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];
|
|
```
|