• Perform a global hashtag search, across the entire Telegram

    Iterable version of searchHashtag

    Parameters

    • client: ITelegramClient
    • hashtag: string

      Hashtag to search for

    • Optionalparams: { limit?: number; offset?: SearchHashtagOffset } & {
          chunkSize?: number;
          limit?: number;
      }

      Additional parameters

      • Optionallimit?: number

        Limit the number of results

      • Optionaloffset?: SearchHashtagOffset

        Offset for the search

      • OptionalchunkSize?: number

        Chunk size, which will be passed as limit parameter for messages.search. Usually you shouldn't care about this.

        100
        
      • Optionallimit?: number

        Limits the number of messages to be retrieved.

        Infinity, i.e. all messages are returned

    Returns AsyncIterableIterator<Message>