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::giftAuctionAcquiredGift Class Referencefinal

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

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

Public Member Functions

 giftAuctionAcquiredGift ()
 
 giftAuctionAcquiredGift (object_ptr< MessageSender > &&receiver_id_, int32 date_, int53 star_count_, int32 auction_round_number_, int32 auction_round_position_, int32 unique_gift_number_, object_ptr< formattedText > &&text_, bool is_private_)
 
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< MessageSenderreceiver_id_
 Receiver of the gift.
 
int32 date_
 Point in time (Unix timestamp) when the gift was acquired.
 
int53 star_count_
 The number of Telegram Stars that were paid for the gift.
 
int32 auction_round_number_
 Identifier of the auction round in which the gift was acquired.
 
int32 auction_round_position_
 Position of the user in the round among all auction participants.
 
int32 unique_gift_number_
 Unique number of the gift among gifts upgraded from the same gift after upgrade; 0 if yet unassigned.
 
object_ptr< formattedTexttext_
 Message added to the gift.
 
bool is_private_
 True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them.
 

Static Public Attributes

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

Detailed Description

Represents a gift that was acquired by the current user on an auction.

Definition at line 22962 of file td_api.h.

Constructor & Destructor Documentation

◆ giftAuctionAcquiredGift() [1/2]

td::td_api::giftAuctionAcquiredGift::giftAuctionAcquiredGift ( )

Represents a gift that was acquired by the current user on an auction.

◆ giftAuctionAcquiredGift() [2/2]

td::td_api::giftAuctionAcquiredGift::giftAuctionAcquiredGift ( object_ptr< MessageSender > &&  receiver_id_,
int32  date_,
int53  star_count_,
int32  auction_round_number_,
int32  auction_round_position_,
int32  unique_gift_number_,
object_ptr< formattedText > &&  text_,
bool  is_private_ 
)

Represents a gift that was acquired by the current user on an auction.

Parameters
[in]receiver_id_Receiver of the gift.
[in]date_Point in time (Unix timestamp) when the gift was acquired.
[in]star_count_The number of Telegram Stars that were paid for the gift.
[in]auction_round_number_Identifier of the auction round in which the gift was acquired.
[in]auction_round_position_Position of the user in the round among all auction participants.
[in]unique_gift_number_Unique number of the gift among gifts upgraded from the same gift after upgrade; 0 if yet unassigned.
[in]text_Message added to the gift.
[in]is_private_True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them.

Member Function Documentation

◆ store()

void td::td_api::giftAuctionAcquiredGift::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

◆ auction_round_number_

int32 td::td_api::giftAuctionAcquiredGift::auction_round_number_

Identifier of the auction round in which the gift was acquired.

Definition at line 22979 of file td_api.h.

◆ auction_round_position_

int32 td::td_api::giftAuctionAcquiredGift::auction_round_position_

Position of the user in the round among all auction participants.

Definition at line 22981 of file td_api.h.

◆ date_

int32 td::td_api::giftAuctionAcquiredGift::date_

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

Definition at line 22975 of file td_api.h.

◆ ID

const std::int32_t td::td_api::giftAuctionAcquiredGift::ID = -1109930332
static

Identifier uniquely determining a type of the object.

Definition at line 23009 of file td_api.h.

◆ is_private_

bool td::td_api::giftAuctionAcquiredGift::is_private_

True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them.

Definition at line 22987 of file td_api.h.

◆ receiver_id_

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

Receiver of the gift.

Definition at line 22973 of file td_api.h.

◆ star_count_

int53 td::td_api::giftAuctionAcquiredGift::star_count_

The number of Telegram Stars that were paid for the gift.

Definition at line 22977 of file td_api.h.

◆ text_

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

Message added to the gift.

Definition at line 22985 of file td_api.h.

◆ unique_gift_number_

int32 td::td_api::giftAuctionAcquiredGift::unique_gift_number_

Unique number of the gift among gifts upgraded from the same gift after upgrade; 0 if yet unassigned.

Definition at line 22983 of file td_api.h.


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