tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::upgradedGiftOriginalDetails Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::upgradedGiftOriginalDetails:
td::td_api::Object td::TlObject

Public Member Functions

 upgradedGiftOriginalDetails ()
 
 upgradedGiftOriginalDetails (object_ptr< MessageSender > &&sender_id_, object_ptr< MessageSender > &&receiver_id_, object_ptr< formattedText > &&text_, int32 date_)
 
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

object_ptr< MessageSendersender_id_
 Identifier of the user or the chat that sent the gift; may be null if the gift was private.
 
object_ptr< MessageSenderreceiver_id_
 Identifier of the user or the chat that received the gift.
 
object_ptr< formattedTexttext_
 Message added to the gift.
 
int32 date_
 Point in time (Unix timestamp) when the gift was sent.
 

Static Public Attributes

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

Detailed Description

Describes the original details about the gift.

Definition at line 84472 of file td_api.h.

Constructor & Destructor Documentation

◆ upgradedGiftOriginalDetails() [1/2]

td::td_api::upgradedGiftOriginalDetails::upgradedGiftOriginalDetails ( )

Describes the original details about the gift.

◆ upgradedGiftOriginalDetails() [2/2]

td::td_api::upgradedGiftOriginalDetails::upgradedGiftOriginalDetails ( object_ptr< MessageSender > &&  sender_id_,
object_ptr< MessageSender > &&  receiver_id_,
object_ptr< formattedText > &&  text_,
int32  date_ 
)

Describes the original details about the gift.

Parameters
[in]sender_id_Identifier of the user or the chat that sent the gift; may be null if the gift was private.
[in]receiver_id_Identifier of the user or the chat that received the gift.
[in]text_Message added to the gift.
[in]date_Point in time (Unix timestamp) when the gift was sent.

Member Function Documentation

◆ store()

void td::td_api::upgradedGiftOriginalDetails::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 td::TlObject.

Member Data Documentation

◆ date_

int32 td::td_api::upgradedGiftOriginalDetails::date_

Point in time (Unix timestamp) when the gift was sent.

Definition at line 84489 of file td_api.h.

◆ ID

const std::int32_t td::td_api::upgradedGiftOriginalDetails::ID = 55247728
static

Identifier uniquely determining a type of the object.

Definition at line 84507 of file td_api.h.

◆ receiver_id_

object_ptr<MessageSender> td::td_api::upgradedGiftOriginalDetails::receiver_id_

Identifier of the user or the chat that received the gift.

Definition at line 84485 of file td_api.h.

◆ sender_id_

object_ptr<MessageSender> td::td_api::upgradedGiftOriginalDetails::sender_id_

Identifier of the user or the chat that sent the gift; may be null if the gift was private.

Definition at line 84483 of file td_api.h.

◆ text_

object_ptr<formattedText> td::td_api::upgradedGiftOriginalDetails::text_

Message added to the gift.

Definition at line 84487 of file td_api.h.


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