• Iterate over forum topics. Wrapper over getForumTopics.

    Parameters

    • client: ITelegramClient
    • chatId: InputPeerLike

      Chat ID or username

    • Optionalparams: { limit?: number; offset?: GetForumTopicsOffset; query?: string } & {
          chunkSize?: number;
          limit?: number;
      }
      • Optionallimit?: number

        Maximum number of topics to return.

        100
        
      • Optionaloffset?: GetForumTopicsOffset

        Offset for pagination

      • Optionalquery?: string

        Search query

      • OptionalchunkSize?: number

        Chunk size. Usually you shouldn't care about this.

      • Optionallimit?: number

        Maximum number of topics to return.

        Infinity, i.e. return all topics

    Returns AsyncIterableIterator<ForumTopic>