StarGiftActiveAuctionState

class pyrogram.raw.types.StarGiftActiveAuctionState

{schema}

Constructor of StarGiftActiveAuctionState.

Details:
  • Layer: 223

  • ID: D31BC45D

Parameters:

TL Schema

starGiftActiveAuctionState#d31bc45d
gift:StarGift
state:StarGiftAuctionState
user_state:StarGiftAuctionUserState

= StarGiftActiveAuctionState

Parameter Tree

StarGiftActiveAuctionState
├── giftStarGift
│ ├── StarGift
│ │ ├── limitedtrue (optional)
│ │ ├── sold_outtrue (optional)
│ │ ├── birthdaytrue (optional)
│ │ ├── require_premiumtrue (optional)
│ │ ├── limited_per_usertrue (optional)
│ │ ├── peer_color_availabletrue (optional)
│ │ ├── auctiontrue (optional)
│ │ ├── idlong
│ │ ├── stickerDocument
│ │ │ ├── DocumentEmpty
│ │ │ │ └── idlong
│ │ │ └── Document
│ │ │ ├── idlong
│ │ │ ├── access_hashlong
│ │ │ ├── file_referencebytes
│ │ │ ├── dateint
│ │ │ ├── mime_typestring
│ │ │ ├── sizelong
│ │ │ ├── thumbsVector < PhotoSize > (optional)
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_thumbsVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ ├── dc_idint
│ │ │ └── attributesVector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── starslong
│ │ ├── availability_remainsint (optional)
│ │ ├── availability_totalint (optional)
│ │ ├── availability_resalelong (optional)
│ │ ├── convert_starslong
│ │ ├── first_sale_dateint (optional)
│ │ ├── last_sale_dateint (optional)
│ │ ├── upgrade_starslong (optional)
│ │ ├── resell_min_starslong (optional)
│ │ ├── titlestring (optional)
│ │ ├── released_byPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── per_user_totalint (optional)
│ │ ├── per_user_remainsint (optional)
│ │ ├── locked_until_dateint (optional)
│ │ ├── auction_slugstring (optional)
│ │ ├── gifts_per_roundint (optional)
│ │ ├── auction_start_dateint (optional)
│ │ ├── upgrade_variantsint (optional)
│ │ └── backgroundStarGiftBackground (optional)
│ │ └── StarGiftBackground
│ │ ├── center_colorint
│ │ ├── edge_colorint
│ │ └── text_colorint
│ └── StarGiftUnique
│ ├── require_premiumtrue (optional)
│ ├── resale_ton_onlytrue (optional)
│ ├── theme_availabletrue (optional)
│ ├── burnedtrue (optional)
│ ├── craftedtrue (optional)
│ ├── idlong
│ ├── gift_idlong
│ ├── titlestring
│ ├── slugstring
│ ├── numint
│ ├── owner_idPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── owner_namestring (optional)
│ ├── owner_addressstring (optional)
│ ├── attributesVector < StarGiftAttribute >
│ │ ├── StarGiftAttributeModel
│ │ │ ├── craftedtrue (optional)
│ │ │ ├── namestring
│ │ │ ├── documentDocument
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── rarityStarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarityUncommon
│ │ │ ├── StarGiftAttributeRarityRare
│ │ │ ├── StarGiftAttributeRarityEpic
│ │ │ └── StarGiftAttributeRarityLegendary
│ │ ├── StarGiftAttributePattern
│ │ │ ├── namestring
│ │ │ ├── documentDocument
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── rarityStarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarityUncommon
│ │ │ ├── StarGiftAttributeRarityRare
│ │ │ ├── StarGiftAttributeRarityEpic
│ │ │ └── StarGiftAttributeRarityLegendary
│ │ ├── StarGiftAttributeBackdrop
│ │ │ ├── namestring
│ │ │ ├── backdrop_idint
│ │ │ ├── center_colorint
│ │ │ ├── edge_colorint
│ │ │ ├── pattern_colorint
│ │ │ ├── text_colorint
│ │ │ └── rarityStarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarityUncommon
│ │ │ ├── StarGiftAttributeRarityRare
│ │ │ ├── StarGiftAttributeRarityEpic
│ │ │ └── StarGiftAttributeRarityLegendary
│ │ ├── sender_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── recipient_idPeer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── dateint
│ │ └── messageTextWithEntities (optional)
│ │ └── TextWithEntities
│ ├── availability_issuedint
│ ├── availability_totalint
│ ├── gift_addressstring (optional)
│ ├── resell_amountVector < StarsAmount > (optional)
│ │ ├── StarsAmount
│ │ │ ├── amountlong
│ │ │ └── nanosint
│ │ └── StarsTonAmount
│ │ └── amountlong
│ ├── released_byPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── value_amountlong (optional)
│ ├── value_currencystring (optional)
│ ├── value_usd_amountlong (optional)
│ ├── theme_peerPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── peer_colorPeerColor (optional)
│ │ ├── PeerColor
│ │ │ ├── colorint (optional)
│ │ │ └── background_emoji_idlong (optional)
│ │ ├── PeerColorCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── gift_emoji_idlong
│ │ │ ├── background_emoji_idlong
│ │ │ ├── accent_colorint
│ │ │ ├── colorsVector < int >
│ │ │ ├── dark_accent_colorint (optional)
│ │ │ └── dark_colorsVector < int > (optional)
│ │ └── InputPeerColorCollectible
│ │ └── collectible_idlong
│ ├── host_idPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── offer_min_starsint (optional)
│ └── craft_chance_permilleint (optional)
├── stateStarGiftAuctionState
│ ├── StarGiftAuctionState
│ │ ├── versionint
│ │ ├── start_dateint
│ │ ├── end_dateint
│ │ ├── min_bid_amountlong
│ │ ├── bid_levelsVector < AuctionBidLevel >
│ │ │ └── AuctionBidLevel
│ │ │ ├── posint
│ │ │ ├── amountlong
│ │ │ └── dateint
│ │ ├── top_biddersVector < long >
│ │ ├── next_round_atint
│ │ ├── last_gift_numint
│ │ ├── gifts_leftint
│ │ ├── current_roundint
│ │ ├── total_roundsint
│ │ └── roundsVector < StarGiftAuctionRound >
│ │ ├── StarGiftAuctionRound
│ │ │ ├── numint
│ │ │ └── durationint
│ │ ├── numint
│ │ ├── durationint
│ │ ├── extend_topint
│ │ └── extend_windowint
│ ├── start_dateint
│ ├── end_dateint
│ ├── average_pricelong
│ ├── listed_countint (optional)
│ ├── fragment_listed_countint (optional)
│ └── fragment_listed_urlstring (optional)
└── user_stateStarGiftAuctionUserState
├── returnedtrue (optional)
├── bid_amountlong (optional)
├── bid_dateint (optional)
├── min_bid_amountlong (optional)
├── bid_peerPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
└── acquired_countint

Example

StarGiftActiveAuctionState(
    gift=StarGift(
        id=0,
        sticker=DocumentEmpty(id=0),
        stars=0,
        convert_stars=0
    ),
    state=StarGiftAuctionStateNotModified(),
    user_state=StarGiftAuctionUserState(acquired_count=0),
)