messages.GetForumTopicsByID

class pyrogram.raw.functions.messages.GetForumTopicsByID

{schema}

Details:
  • Layer: 223

  • ID: AF0A4A08

Parameters:
  • peer (InputPeer)

  • topics (List of int 32-bit)

Returns:

messages.ForumTopics

TL Schema

messages.getForumTopicsByID#af0a4a08
peer:InputPeer
topics:Vector<int>

= messages.ForumTopics

Parameter Tree

GetForumTopicsByID
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── topicsVector < int >

Example

await app.invoke(
    GetForumTopicsByID(
        peer=await app.resolve_peer(chat_id),
        topics=[0],
    )
)