Arguments for Api::getBusinessAccountGifts.
More...
#include <Types.h>
|
| std::string | businessConnectionId { } |
| | Unique identifier of the business connection.
|
| 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 | excludeSaved = false |
| | Pass True to exclude gifts that are saved to the account's profile page.
|
| 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.
|
| bool | excludeUnsaved = false |
| | Pass True to exclude gifts that aren't saved to the account's profile page.
|
| std::int32_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 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::getBusinessAccountGifts.
Definition at line 16280 of file Types.h.
◆ businessConnectionId
| std::string TgBot::GetBusinessAccountGiftsArgs::businessConnectionId { } |
Unique identifier of the business connection.
Definition at line 16284 of file Types.h.
◆ excludeFromBlockchain
| bool TgBot::GetBusinessAccountGiftsArgs::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 16290 of file Types.h.
◆ excludeLimitedNonUpgradable
| bool TgBot::GetBusinessAccountGiftsArgs::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 16296 of file Types.h.
◆ excludeLimitedUpgradable
| bool TgBot::GetBusinessAccountGiftsArgs::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 16302 of file Types.h.
◆ excludeSaved
| bool TgBot::GetBusinessAccountGiftsArgs::excludeSaved = false |
Pass True to exclude gifts that are saved to the account's profile page.
Definition at line 16307 of file Types.h.
◆ excludeUnique
| bool TgBot::GetBusinessAccountGiftsArgs::excludeUnique = false |
Pass True to exclude unique gifts.
Definition at line 16312 of file Types.h.
◆ excludeUnlimited
| bool TgBot::GetBusinessAccountGiftsArgs::excludeUnlimited = false |
Pass True to exclude gifts that can be purchased an unlimited number of times.
Definition at line 16318 of file Types.h.
◆ excludeUnsaved
| bool TgBot::GetBusinessAccountGiftsArgs::excludeUnsaved = false |
Pass True to exclude gifts that aren't saved to the account's profile page.
Definition at line 16324 of file Types.h.
◆ limit
| std::int32_t TgBot::GetBusinessAccountGiftsArgs::limit = 0 |
The maximum number of gifts to be returned; 1-100. Defaults to 100.
Definition at line 16329 of file Types.h.
◆ offset
| std::string TgBot::GetBusinessAccountGiftsArgs::offset = "" |
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
Definition at line 16335 of file Types.h.
◆ sortByPrice
| bool TgBot::GetBusinessAccountGiftsArgs::sortByPrice = false |
Pass True to sort results by gift price instead of send date. Sorting is applied before pagination.
Definition at line 16341 of file Types.h.
The documentation for this struct was generated from the following file: