List of all members | Public Fields | Public Types | Public Instance Methods | Static Public Attributes
searchGiftsForResale Class Referencefinal

Inherits Function.

Description

Returns upgraded gifts that can be bought from other owners.

Returns object_ptr<GiftsForResale>.

Public Fields

int64 gift_id_
 Identifier of the regular gift that was upgraded to a unique gift.
 
object_ptr< GiftForResaleOrderorder_
 Order in which the results will be sorted.
 
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.
 

Public Types

using ReturnType = object_ptr< giftsForResale >
 Typedef for the type returned by the function.
 

Public Instance Methods

 searchGiftsForResale ()
 
 searchGiftsForResale (int64 gift_id_, object_ptr< GiftForResaleOrder > &&order_, array< object_ptr< UpgradedGiftAttributeId >> &&attributes_, string const &offset_, int32 limit_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 1659300894
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ searchGiftsForResale() [1/2]

Default constructor for a function, which returns upgraded gifts that can be bought from other owners.

Returns object_ptr<GiftsForResale>.

◆ searchGiftsForResale() [2/2]

searchGiftsForResale ( int64  gift_id_,
object_ptr< GiftForResaleOrder > &&  order_,
array< object_ptr< UpgradedGiftAttributeId >> &&  attributes_,
string const &  offset_,
int32  limit_ 
)

Creates a function, which returns upgraded gifts that can be bought from other owners.

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]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.

Method Documentation

◆ store()

void 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: