Arguments for Api::getUserGifts.
More...
#include <Types.h>
|
| std::uint64_t | userId { } |
| | Unique identifier of the user.
|
| bool | excludeFromBlockchain = false |
| | Pass True to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram.
|
| bool | excludeLimitedNonUpgradable = false |
| | Pass True to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique.
|
| bool | excludeLimitedUpgradable = false |
| | Pass True to exclude gifts that can be purchased a limited number of times and can be upgraded to unique.
|
| bool | excludeUnique = false |
| | Pass True to exclude unique gifts.
|
| bool | excludeUnlimited = false |
| | Pass True to exclude gifts that can be purchased an unlimited number of times.
|
| std::uint32_t | limit = 0 |
| | The maximum number of gifts to be returned; 1-100. Defaults to 100.
|
| std::string | offset = "" |
| | Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results.
|
| bool | sortByPrice = false |
| | Pass True to sort results by gift price instead of send date. Sorting is applied before pagination.
|
Arguments for Api::getUserGifts.
Definition at line 17669 of file Types.h.
◆ excludeFromBlockchain
| bool TgBot::GetUserGiftsArgs::excludeFromBlockchain = false |
Pass True to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram.
Definition at line 17679 of file Types.h.
◆ excludeLimitedNonUpgradable
| bool TgBot::GetUserGiftsArgs::excludeLimitedNonUpgradable = false |
Pass True to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique.
Definition at line 17685 of file Types.h.
◆ excludeLimitedUpgradable
| bool TgBot::GetUserGiftsArgs::excludeLimitedUpgradable = false |
Pass True to exclude gifts that can be purchased a limited number of times and can be upgraded to unique.
Definition at line 17691 of file Types.h.
◆ excludeUnique
| bool TgBot::GetUserGiftsArgs::excludeUnique = false |
Pass True to exclude unique gifts.
Definition at line 17696 of file Types.h.
◆ excludeUnlimited
| bool TgBot::GetUserGiftsArgs::excludeUnlimited = false |
Pass True to exclude gifts that can be purchased an unlimited number of times.
Definition at line 17702 of file Types.h.
◆ limit
| std::uint32_t TgBot::GetUserGiftsArgs::limit = 0 |
The maximum number of gifts to be returned; 1-100. Defaults to 100.
Definition at line 17707 of file Types.h.
◆ offset
| std::string TgBot::GetUserGiftsArgs::offset = "" |
Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results.
Definition at line 17713 of file Types.h.
◆ sortByPrice
| bool TgBot::GetUserGiftsArgs::sortByPrice = false |
Pass True to sort results by gift price instead of send date. Sorting is applied before pagination.
Definition at line 17719 of file Types.h.
◆ userId
| std::uint64_t TgBot::GetUserGiftsArgs::userId { } |
Unique identifier of the user.
Definition at line 17673 of file Types.h.
The documentation for this struct was generated from the following file: