channels.GetForumTopics#

class pyrogram.raw.functions.channels.GetForumTopics#

Get topics of a forum.

Details:
  • Layer: 158

  • ID: DE560D1

Parameters:
  • channel (InputChannel) – Supergroup.

  • offset_date (int 32-bit) – Offsets for pagination, date of the last message of the last found topic. Use 0 or any date in the future to get results from the last topic.

  • offset_id (int 32-bit) – Offsets for pagination, ID of the last message of the last found topic (or initially 0).

  • offset_topic (int 32-bit) – Offsets for pagination, ID of the last found topic (or initially 0).

  • limit (int 32-bit) – Maximum number of results to return, see pagination. For optimal performance, the number of returned topics is chosen by the server and can be smaller than the specified limit.

  • q (str, optional) – Search query.

Returns:

messages.ForumTopics