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

Inherits Object.

Description

Describes gifts available for resale.

Public Fields

int32 total_count_
 Total number of gifts found.
 
array< object_ptr< giftForResale > > gifts_
 The gifts.
 
array< object_ptr< upgradedGiftModelCount > > models_
 Available models; for searchGiftsForResale requests without offset and attributes only.
 
array< object_ptr< upgradedGiftSymbolCount > > symbols_
 Available symbols; for searchGiftsForResale requests without offset and attributes only.
 
array< object_ptr< upgradedGiftBackdropCount > > backdrops_
 Available backdrops; for searchGiftsForResale requests without offset and attributes only.
 
string next_offset_
 The offset for the next request. If empty, then there are no more results.
 

Public Instance Methods

 giftsForResale ()
 
 giftsForResale (int32 total_count_, array< object_ptr< giftForResale >> &&gifts_, array< object_ptr< upgradedGiftModelCount >> &&models_, array< object_ptr< upgradedGiftSymbolCount >> &&symbols_, array< object_ptr< upgradedGiftBackdropCount >> &&backdrops_, string const &next_offset_)
 
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 = 35082425
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ giftsForResale() [1/2]

Describes gifts available for resale.

◆ giftsForResale() [2/2]

giftsForResale ( int32  total_count_,
array< object_ptr< giftForResale >> &&  gifts_,
array< object_ptr< upgradedGiftModelCount >> &&  models_,
array< object_ptr< upgradedGiftSymbolCount >> &&  symbols_,
array< object_ptr< upgradedGiftBackdropCount >> &&  backdrops_,
string const &  next_offset_ 
)

Describes gifts available for resale.

Parameters
[in]total_count_Total number of gifts found.
[in]gifts_The gifts.
[in]models_Available models; for searchGiftsForResale requests without offset and attributes only.
[in]symbols_Available symbols; for searchGiftsForResale requests without offset and attributes only.
[in]backdrops_Available backdrops; for searchGiftsForResale requests without offset and attributes only.
[in]next_offset_The offset for the next request. If empty, then there are no more results.

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: