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

Inherits Function.

Description

Returns collections of gifts owned by the given user or chat.

Returns object_ptr<GiftCollections>.

Public Types

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

Public Member Functions

 getGiftCollections ()
 getGiftCollections (object_ptr< MessageSender > &&owner_id_)
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

object_ptr< MessageSender > owner_id_
 Identifier of the user or the channel chat that received the gifts.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ getGiftCollections() [1/2]

getGiftCollections ( )

Default constructor for a function, which returns collections of gifts owned by the given user or chat.

Returns object_ptr<GiftCollections>.

◆ getGiftCollections() [2/2]

getGiftCollections ( object_ptr< MessageSender > && owner_id_)
explicit

Creates a function, which returns collections of gifts owned by the given user or chat.

Returns object_ptr<GiftCollections>.

Parameters
[in]owner_id_Identifier of the user or the channel chat that received the gifts.

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: