InputNotifyForumTopic

class pyrogram.raw.types.InputNotifyForumTopic

Notifications generated by a topic in a forum.

Constructor of InputNotifyPeer.

Details:
  • Layer: 227

  • ID: 5C467992

Parameters:
  • peer (InputPeer) – Forum ID

  • top_msg_id (int 32-bit) – Topic ID

TL Schema

inputNotifyForumTopic#5c467992
peer:InputPeer
top_msg_id:int

= InputNotifyPeer

Parameter Tree

InputNotifyForumTopic
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
└── top_msg_id → int

Example

InputNotifyForumTopic(
    peer=await app.resolve_peer(chat_id),
    top_msg_id=0,
)