MadelineProtoDocs/docs/API_docs/constructors/inputNotifyForumTopic.md

31 lines
982 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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];
```