• Get a list of profile pictures of a user

    Parameters

    • client: ITelegramClient
    • userId: InputPeerLike

      User ID, username, phone number, "me" or "self"

    • Optionalparams: { limit?: number; offset?: number }
      • Optionallimit?: number

        Maximum number of items to fetch (up to 100)

        100

      • Optionaloffset?: number

        Offset from which to fetch.

        0

    Returns Promise<ArrayPaginated<Photo, number>>