messages.GetForumTopics

class pyrogram.raw.functions.messages.GetForumTopics

{schema}

Details:
  • Layer: 227

  • 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
├── 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
├── q → string (optional)
├── offset_date → int
├── offset_id → int
├── offset_topic → int
└── limit → int

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,
    )
)