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

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

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

Public Member Functions

 userAuctionBid ()
 
 userAuctionBid (int53 star_count_, int32 bid_date_, int53 next_bid_star_count_, object_ptr< MessageSender > &&owner_id_, bool was_returned_)
 
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

int53 star_count_
 The number of Telegram Stars that were put in the bid.
 
int32 bid_date_
 Point in time (Unix timestamp) when the bid was made.
 
int53 next_bid_star_count_
 The minimum number of Telegram Stars that can be put for the next bid.
 
object_ptr< MessageSenderowner_id_
 Identifier of the user or the chat that will receive the auctioned item. If the auction is opened in context of another user or chat, then a warning is supposed to be shown to the current user.
 
bool was_returned_
 True, if the bid was returned to the user, because it was outbid and can&#x27;t win anymore.
 

Static Public Attributes

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

Detailed Description

Describes a bid of the current user in an auction.

Definition at line 84828 of file td_api.h.

Constructor & Destructor Documentation

◆ userAuctionBid() [1/2]

td::td_api::userAuctionBid::userAuctionBid ( )

Describes a bid of the current user in an auction.

◆ userAuctionBid() [2/2]

td::td_api::userAuctionBid::userAuctionBid ( int53  star_count_,
int32  bid_date_,
int53  next_bid_star_count_,
object_ptr< MessageSender > &&  owner_id_,
bool  was_returned_ 
)

Describes a bid of the current user in an auction.

Parameters
[in]star_count_The number of Telegram Stars that were put in the bid.
[in]bid_date_Point in time (Unix timestamp) when the bid was made.
[in]next_bid_star_count_The minimum number of Telegram Stars that can be put for the next bid.
[in]owner_id_Identifier of the user or the chat that will receive the auctioned item. If the auction is opened in context of another user or chat, then a warning is supposed to be shown to the current user.
[in]was_returned_True, if the bid was returned to the user, because it was outbid and can&#x27;t win anymore.

Member Function Documentation

◆ store()

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

◆ bid_date_

int32 td::td_api::userAuctionBid::bid_date_

Point in time (Unix timestamp) when the bid was made.

Definition at line 84841 of file td_api.h.

◆ ID

const std::int32_t td::td_api::userAuctionBid::ID = 538448225
static

Identifier uniquely determining a type of the object.

Definition at line 84866 of file td_api.h.

◆ next_bid_star_count_

int53 td::td_api::userAuctionBid::next_bid_star_count_

The minimum number of Telegram Stars that can be put for the next bid.

Definition at line 84843 of file td_api.h.

◆ owner_id_

object_ptr<MessageSender> td::td_api::userAuctionBid::owner_id_

Identifier of the user or the chat that will receive the auctioned item. If the auction is opened in context of another user or chat, then a warning is supposed to be shown to the current user.

Definition at line 84845 of file td_api.h.

◆ star_count_

int53 td::td_api::userAuctionBid::star_count_

The number of Telegram Stars that were put in the bid.

Definition at line 84839 of file td_api.h.

◆ was_returned_

bool td::td_api::userAuctionBid::was_returned_

True, if the bid was returned to the user, because it was outbid and can&#x27;t win anymore.

Definition at line 84847 of file td_api.h.


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