#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| int64 | gift_id_ |
| | Identifier of the regular gift that was upgraded to a unique gift.
|
| |
| object_ptr< GiftForResaleOrder > | order_ |
| | Order in which the results will be sorted.
|
| |
| bool | for_crafting_ |
| | Pass true to get only gifts suitable for crafting.
|
| |
| bool | for_stars_ |
| | Pass true to get only gifts that can be bought using Telegram Stars.
|
| |
| array< object_ptr< UpgradedGiftAttributeId > > | attributes_ |
| | Attributes used to filter received gifts. If multiple attributes of the same type are specified, then all of them are allowed. If none attributes of specific type are specified, then all values for this attribute type are allowed.
|
| |
| string | offset_ |
| | Offset of the first entry to return as received from the previous request with the same order and attributes; use empty string to get the first chunk of results.
|
| |
| int32 | limit_ |
| | The maximum number of gifts to return.
|
| |
|
| static const std::int32_t | ID = 1947702322 |
| | Identifier uniquely determining a type of the object.
|
| |
Returns upgraded gifts that can be bought from other owners using sendResoldGift.
Returns object_ptr<GiftsForResale>.
Definition at line 124390 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 124441 of file td_api.h.
◆ searchGiftsForResale() [1/2]
| td::td_api::searchGiftsForResale::searchGiftsForResale |
( |
| ) |
|
Default constructor for a function, which returns upgraded gifts that can be bought from other owners using sendResoldGift.
Returns object_ptr<GiftsForResale>.
◆ searchGiftsForResale() [2/2]
Creates a function, which returns upgraded gifts that can be bought from other owners using sendResoldGift.
Returns object_ptr<GiftsForResale>.
- Parameters
-
| [in] | gift_id_ | Identifier of the regular gift that was upgraded to a unique gift. |
| [in] | order_ | Order in which the results will be sorted. |
| [in] | for_crafting_ | Pass true to get only gifts suitable for crafting. |
| [in] | for_stars_ | Pass true to get only gifts that can be bought using Telegram Stars. |
| [in] | attributes_ | Attributes used to filter received gifts. If multiple attributes of the same type are specified, then all of them are allowed. If none attributes of specific type are specified, then all values for this attribute type are allowed. |
| [in] | offset_ | Offset of the first entry to return as received from the previous request with the same order and attributes; use empty string to get the first chunk of results. |
| [in] | limit_ | The maximum number of gifts to return. |
◆ store()
| void td::td_api::searchGiftsForResale::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ attributes_
Attributes used to filter received gifts. If multiple attributes of the same type are specified, then all of them are allowed. If none attributes of specific type are specified, then all values for this attribute type are allowed.
Definition at line 124409 of file td_api.h.
◆ for_crafting_
| bool td::td_api::searchGiftsForResale::for_crafting_ |
Pass true to get only gifts suitable for crafting.
Definition at line 124405 of file td_api.h.
◆ for_stars_
| bool td::td_api::searchGiftsForResale::for_stars_ |
Pass true to get only gifts that can be bought using Telegram Stars.
Definition at line 124407 of file td_api.h.
◆ gift_id_
| int64 td::td_api::searchGiftsForResale::gift_id_ |
Identifier of the regular gift that was upgraded to a unique gift.
Definition at line 124401 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::searchGiftsForResale::ID = 1947702322 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 124438 of file td_api.h.
◆ limit_
| int32 td::td_api::searchGiftsForResale::limit_ |
The maximum number of gifts to return.
Definition at line 124413 of file td_api.h.
◆ offset_
| string td::td_api::searchGiftsForResale::offset_ |
Offset of the first entry to return as received from the previous request with the same order and attributes; use empty string to get the first chunk of results.
Definition at line 124411 of file td_api.h.
◆ order_
Order in which the results will be sorted.
Definition at line 124403 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h