TDLib
Loading...
Searching...
No Matches
td::td_api::sendGift Class Referencefinal
Inheritance diagram for td::td_api::sendGift:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr<ok>

Public Member Functions

 sendGift (int64 gift_id_, object_ptr< MessageSender > &&owner_id_, object_ptr< formattedText > &&text_, bool is_private_, bool pay_for_upgrade_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from td::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

Public Attributes

int64 gift_id_
object_ptr< MessageSenderowner_id_
object_ptr< formattedTexttext_
bool is_private_
bool pay_for_upgrade_

Static Public Attributes

static const std::int32_t ID = -1199356118

Member Function Documentation

◆ store()

void td::td_api::sendGift::store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for the to_string method. Appends a string representation of the object to the storer.

Parameters
[in]sStorer to which the object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.


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