List of all members | Public Fields | Public Instance Methods | Static Public Attributes
userAuctionBid Class Referencefinal

Inherits Object.

Description

Describes a bid of the current user in an auction.

Public Fields

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't win anymore.
 

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ userAuctionBid() [1/2]

Describes a bid of the current user in an auction.

◆ userAuctionBid() [2/2]

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't win anymore.

Method 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: