messages.GetForumTopics

class pyrogram.raw.functions.messages.GetForumTopics

{schema}

Details:
  • Layer: 223

  • ID: 3BA47BFF

Parameters:
  • peer (InputPeer)

  • offset_date (int 32-bit) – Offsets for pagination, for more info click here

  • offset_id (int 32-bit) – Offsets for pagination, for more info click here

  • offset_topic (int 32-bit)

  • limit (int 32-bit) – Maximum number of results to return, see pagination

  • q (str, optional)

Returns:

messages.ForumTopics

TL Schema

messages.getForumTopics#3ba47bff
flags:#
peer:InputPeer
q:flags.0?string
offset_date:int
offset_id:int
offset_topic:int
limit:int

= messages.ForumTopics

Parameter Tree

GetForumTopics
├── 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
├── qstring (optional)
├── offset_dateint
├── offset_idint
├── offset_topicint
└── limitint

Example

await app.invoke(
    GetForumTopics(
        peer=await app.resolve_peer(chat_id),
        q="text",
        offset_date=0,
        offset_id=0,
        offset_topic=0,
        limit=0,
    )
)