StarGiftAuctionUserState¶
- class pyrogram.raw.types.StarGiftAuctionUserState[source]¶
Contains information about the current user’s state in an auction ».
Constructor of
StarGiftAuctionUserState.- Details:
Layer:
229ID:
2EEED1C4
- Parameters:
acquired_count (
int32-bit) – Contains the number of gifts that were purchased so far in the auction by the current user.returned (
bool, optional) – If set, the placed bid was returned to the user, because it was outbid so much that it fell out of the top starGiftAuctionState.gifts_leftpositions, meaning that even if no new bids are placed, the user will never receive any gifts, so the bid was completely removed from the auction, and in order to participate again the user must manually make a new bid.bid_amount (
int64-bit, optional) – Contains the amount of the placed bid in Telegram Stars.bid_date (
int32-bit, optional) – Contains a UNIX timestamp, indicating when the bid was placed.min_bid_amount (
int64-bit, optional) – Contains the minumum allowed bid amount in Telegram Stars, if set overrides starGiftAuctionState.min_bid_amountfor the current user.bid_peer (
Peer, optional) – Contains the peer that will receive the gift, if you end up winning this round