|
TDLib
|
Inherits Function.
Returns upgraded gifts that can be bought from other owners using sendResoldGift.
Returns object_ptr<GiftsForResale>.
Public Types | |
| using | ReturnType = object_ptr<giftsForResale> |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| searchGiftsForResale () | |
| searchGiftsForResale (int64 gift_id_, object_ptr< GiftForResaleOrder > &&order_, bool for_crafting_, bool for_stars_, array< object_ptr< UpgradedGiftAttributeId > > &&attributes_, string const &offset_, int32 limit_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| 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. | |
| 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. | |
| int64 | gift_id_ |
| Identifier of the regular gift that was upgraded to a unique gift. | |
| int32 | limit_ |
| The maximum number of gifts to return. | |
| 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. | |
| object_ptr< GiftForResaleOrder > | order_ |
| Order in which the results will be sorted. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1947702322 |
| Identifier uniquely determining a type of the object. | |
| searchGiftsForResale | ( | ) |
Default constructor for a function, which returns upgraded gifts that can be bought from other owners using sendResoldGift.
Returns object_ptr<GiftsForResale>.
| searchGiftsForResale | ( | int64 | gift_id_, |
| object_ptr< GiftForResaleOrder > && | order_, | ||
| bool | for_crafting_, | ||
| bool | for_stars_, | ||
| array< object_ptr< UpgradedGiftAttributeId > > && | attributes_, | ||
| string const & | offset_, | ||
| int32 | limit_ ) |
Creates a function, which returns upgraded gifts that can be bought from other owners using sendResoldGift.
Returns object_ptr<GiftsForResale>.
| [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. |
|
finalvirtual |