• Get a list of gifts sent to a user.

    Parameters

    • client: ITelegramClient
    • userId: InputPeerLike

      User whose gifts to fetch

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

        Maximum number of gifts to fetch.

        100
        
      • Optionaloffset?: string

        Offset for pagination.

    Returns Promise<ArrayPaginated<UserStarGift, string>>

    Gifts sent to the user