mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
31 lines
982 B
Markdown
31 lines
982 B
Markdown
|
---
|
||
|
title: "inputNotifyForumTopic"
|
||
|
description: "Notifications generated by a topic in a forum."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: inputNotifyForumTopic
|
||
|
[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|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Optional|Forum ID|
|
||
|
|top\_msg\_id|[int](/API_docs/types/int.html) | Yes|[Topic ID](https://core.telegram.org/api/forum#forum-topics)|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [InputNotifyPeer](/API_docs/types/InputNotifyPeer.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$inputNotifyForumTopic = ['_' => 'inputNotifyForumTopic', 'peer' => InputPeer, 'top_msg_id' => int];
|
||
|
```
|