TDLib
Loading...
Searching...
No Matches
giftsForResale Class Referencefinal

Inherits Object.

Description

Describes gifts available for resale.

Public Member Functions

 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 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< upgradedGiftBackdropCount > > backdrops_
 Available backdrops; for searchGiftsForResale requests without offset and attributes only.
array< object_ptr< giftForResale > > gifts_
 The gifts.
array< object_ptr< upgradedGiftModelCount > > models_
 Available models; 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.
array< object_ptr< upgradedGiftSymbolCount > > symbols_
 Available symbols; for searchGiftsForResale requests without offset and attributes only.
int32 total_count_
 Total number of gifts found.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ giftsForResale() [1/2]

giftsForResale ( )

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.

Member Function 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: