payments.StarGiftActiveAuctions

class pyrogram.raw.base.payments.StarGiftActiveAuctions
Constructors:

This base type has 2 constructors available.

payments.StarGiftActiveAuctions

{schema}

payments.StarGiftActiveAuctionsNotModified

{schema}

Functions:

This object can be returned by 1 function.

payments.GetStarGiftActiveAuctions

{schema}

TL Schema

payments.starGiftActiveAuctions#aef6abbc
auctions:Vector<StarGiftActiveAuctionState>
users:Vector<User>
chats:Vector<Chat>

= payments.StarGiftActiveAuctions

Parameter Tree

StarGiftActiveAuctions
├── auctionsVector < 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
│ │ │ │ └── Document
│ │ │ ├── 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
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── 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
│ │ └── 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
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── owner_namestring (optional)
│ │ ├── owner_addressstring (optional)
│ │ ├── attributesVector < StarGiftAttribute >
│ │ │ ├── StarGiftAttributeModel
│ │ │ ├── StarGiftAttributePattern
│ │ │ ├── StarGiftAttributeBackdrop
│ │ │ └── StarGiftAttributeOriginalDetails
│ │ ├── availability_issuedint
│ │ ├── availability_totalint
│ │ ├── gift_addressstring (optional)
│ │ ├── resell_amountVector < StarsAmount > (optional)
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ ├── released_byPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── value_amountlong (optional)
│ │ ├── value_currencystring (optional)
│ │ ├── value_usd_amountlong (optional)
│ │ ├── theme_peerPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── host_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── offer_min_starsint (optional)
│ │ └── craft_chance_permilleint (optional)
│ ├── stateStarGiftAuctionState
│ │ ├── StarGiftAuctionState
│ │ │ ├── versionint
│ │ │ ├── start_dateint
│ │ │ ├── end_dateint
│ │ │ ├── min_bid_amountlong
│ │ │ ├── bid_levelsVector < AuctionBidLevel >
│ │ │ │ └── AuctionBidLevel
│ │ │ ├── top_biddersVector < long >
│ │ │ ├── next_round_atint
│ │ │ ├── last_gift_numint
│ │ │ ├── gifts_leftint
│ │ │ ├── current_roundint
│ │ │ ├── total_roundsint
│ │ │ └── roundsVector < StarGiftAuctionRound >
│ │ │ ├── StarGiftAuctionRound
│ │ │ └── StarGiftAuctionRoundExtendable
│ │ ├── 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
│ │ ├── PeerChat
│ │ └── PeerChannel
│ └── acquired_countint
├── usersVector < User >
│ ├── UserEmpty
│ │ └── idlong
│ └── User
│ ├── is_selftrue (optional)
│ ├── contacttrue (optional)
│ ├── mutual_contacttrue (optional)
│ ├── deletedtrue (optional)
│ ├── bottrue (optional)
│ ├── bot_chat_historytrue (optional)
│ ├── bot_nochatstrue (optional)
│ ├── verifiedtrue (optional)
│ ├── restrictedtrue (optional)
│ ├── mintrue (optional)
│ ├── bot_inline_geotrue (optional)
│ ├── supporttrue (optional)
│ ├── scamtrue (optional)
│ ├── apply_min_phototrue (optional)
│ ├── faketrue (optional)
│ ├── bot_attach_menutrue (optional)
│ ├── premiumtrue (optional)
│ ├── attach_menu_enabledtrue (optional)
│ ├── bot_can_edittrue (optional)
│ ├── close_friendtrue (optional)
│ ├── stories_hiddentrue (optional)
│ ├── stories_unavailabletrue (optional)
│ ├── contact_require_premiumtrue (optional)
│ ├── bot_businesstrue (optional)
│ ├── bot_has_main_apptrue (optional)
│ ├── bot_forum_viewtrue (optional)
│ ├── bot_forum_can_manage_topicstrue (optional)
│ ├── idlong
│ ├── access_hashlong (optional)
│ ├── first_namestring (optional)
│ ├── last_namestring (optional)
│ ├── usernamestring (optional)
│ ├── phonestring (optional)
│ ├── photoUserProfilePhoto (optional)
│ │ ├── UserProfilePhotoEmpty
│ │ └── UserProfilePhoto
│ │ ├── has_videotrue (optional)
│ │ ├── personaltrue (optional)
│ │ ├── photo_idlong
│ │ ├── stripped_thumbbytes (optional)
│ │ └── dc_idint
│ ├── statusUserStatus (optional)
│ │ ├── UserStatusEmpty
│ │ ├── UserStatusOnline
│ │ │ └── expiresint
│ │ ├── UserStatusOffline
│ │ │ └── was_onlineint
│ │ ├── UserStatusRecently
│ │ │ └── by_metrue (optional)
│ │ ├── UserStatusLastWeek
│ │ │ └── by_metrue (optional)
│ │ └── UserStatusLastMonth
│ │ └── by_metrue (optional)
│ ├── bot_info_versionint (optional)
│ ├── restriction_reasonVector < RestrictionReason > (optional)
│ │ └── RestrictionReason
│ │ ├── platformstring
│ │ ├── reasonstring
│ │ └── textstring
│ ├── bot_inline_placeholderstring (optional)
│ ├── lang_codestring (optional)
│ ├── emoji_statusEmojiStatus (optional)
│ │ ├── EmojiStatusEmpty
│ │ ├── EmojiStatus
│ │ │ ├── document_idlong
│ │ │ └── untilint (optional)
│ │ ├── EmojiStatusCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── document_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── pattern_document_idlong
│ │ │ ├── center_colorint
│ │ │ ├── edge_colorint
│ │ │ ├── pattern_colorint
│ │ │ ├── text_colorint
│ │ │ └── untilint (optional)
│ │ └── InputEmojiStatusCollectible
│ │ ├── collectible_idlong
│ │ └── untilint (optional)
│ ├── usernamesVector < Username > (optional)
│ │ └── Username
│ │ ├── editabletrue (optional)
│ │ ├── activetrue (optional)
│ │ └── usernamestring
│ ├── stories_max_idRecentStory (optional)
│ │ └── RecentStory
│ │ ├── livetrue (optional)
│ │ └── max_idint (optional)
│ ├── 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
│ ├── profile_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
│ ├── bot_active_usersint (optional)
│ ├── bot_verification_iconlong (optional)
│ └── send_paid_messages_starslong (optional)
└── chatsVector < Chat >
├── ChatEmpty
│ └── idlong
├── Chat
│ ├── creatortrue (optional)
│ ├── lefttrue (optional)
│ ├── deactivatedtrue (optional)
│ ├── call_activetrue (optional)
│ ├── call_not_emptytrue (optional)
│ ├── noforwardstrue (optional)
│ ├── idlong
│ ├── titlestring
│ ├── photoChatPhoto
│ │ ├── ChatPhotoEmpty
│ │ └── ChatPhoto
│ │ ├── has_videotrue (optional)
│ │ ├── photo_idlong
│ │ ├── stripped_thumbbytes (optional)
│ │ └── dc_idint
│ ├── participants_countint
│ ├── dateint
│ ├── versionint
│ ├── migrated_toInputChannel (optional)
│ │ ├── InputChannelEmpty
│ │ ├── InputChannel
│ │ └── InputChannelFromMessage
│ ├── admin_rightsChatAdminRights (optional)
│ │ └── ChatAdminRights
│ │ ├── change_infotrue (optional)
│ │ ├── post_messagestrue (optional)
│ │ ├── edit_messagestrue (optional)
│ │ ├── delete_messagestrue (optional)
│ │ ├── ban_userstrue (optional)
│ │ ├── invite_userstrue (optional)
│ │ ├── pin_messagestrue (optional)
│ │ ├── add_adminstrue (optional)
│ │ ├── anonymoustrue (optional)
│ │ ├── manage_calltrue (optional)
│ │ ├── othertrue (optional)
│ │ ├── manage_topicstrue (optional)
│ │ ├── post_storiestrue (optional)
│ │ ├── edit_storiestrue (optional)
│ │ ├── delete_storiestrue (optional)
│ │ ├── manage_direct_messagestrue (optional)
│ │ └── manage_rankstrue (optional)
│ └── default_banned_rightsChatBannedRights (optional)
│ └── ChatBannedRights
│ ├── view_messagestrue (optional)
│ ├── send_messagestrue (optional)
│ ├── send_mediatrue (optional)
│ ├── send_stickerstrue (optional)
│ ├── send_gifstrue (optional)
│ ├── send_gamestrue (optional)
│ ├── send_inlinetrue (optional)
│ ├── embed_linkstrue (optional)
│ ├── send_pollstrue (optional)
│ ├── change_infotrue (optional)
│ ├── invite_userstrue (optional)
│ ├── pin_messagestrue (optional)
│ ├── manage_topicstrue (optional)
│ ├── send_photostrue (optional)
│ ├── send_videostrue (optional)
│ ├── send_roundvideostrue (optional)
│ ├── send_audiostrue (optional)
│ ├── send_voicestrue (optional)
│ ├── send_docstrue (optional)
│ ├── send_plaintrue (optional)
│ ├── edit_ranktrue (optional)
│ └── until_dateint
├── ChatForbidden
│ ├── idlong
│ └── titlestring
├── Channel
│ ├── creatortrue (optional)
│ ├── lefttrue (optional)
│ ├── broadcasttrue (optional)
│ ├── verifiedtrue (optional)
│ ├── megagrouptrue (optional)
│ ├── restrictedtrue (optional)
│ ├── signaturestrue (optional)
│ ├── mintrue (optional)
│ ├── scamtrue (optional)
│ ├── has_linktrue (optional)
│ ├── has_geotrue (optional)
│ ├── slowmode_enabledtrue (optional)
│ ├── call_activetrue (optional)
│ ├── call_not_emptytrue (optional)
│ ├── faketrue (optional)
│ ├── gigagrouptrue (optional)
│ ├── noforwardstrue (optional)
│ ├── join_to_sendtrue (optional)
│ ├── join_requesttrue (optional)
│ ├── forumtrue (optional)
│ ├── stories_hiddentrue (optional)
│ ├── stories_hidden_mintrue (optional)
│ ├── stories_unavailabletrue (optional)
│ ├── signature_profilestrue (optional)
│ ├── autotranslationtrue (optional)
│ ├── broadcast_messages_allowedtrue (optional)
│ ├── monoforumtrue (optional)
│ ├── forum_tabstrue (optional)
│ ├── idlong
│ ├── access_hashlong (optional)
│ ├── titlestring
│ ├── usernamestring (optional)
│ ├── photoChatPhoto
│ │ ├── ChatPhotoEmpty
│ │ └── ChatPhoto
│ │ ├── has_videotrue (optional)
│ │ ├── photo_idlong
│ │ ├── stripped_thumbbytes (optional)
│ │ └── dc_idint
│ ├── dateint
│ ├── restriction_reasonVector < RestrictionReason > (optional)
│ │ └── RestrictionReason
│ │ ├── platformstring
│ │ ├── reasonstring
│ │ └── textstring
│ ├── admin_rightsChatAdminRights (optional)
│ │ └── ChatAdminRights
│ │ ├── change_infotrue (optional)
│ │ ├── post_messagestrue (optional)
│ │ ├── edit_messagestrue (optional)
│ │ ├── delete_messagestrue (optional)
│ │ ├── ban_userstrue (optional)
│ │ ├── invite_userstrue (optional)
│ │ ├── pin_messagestrue (optional)
│ │ ├── add_adminstrue (optional)
│ │ ├── anonymoustrue (optional)
│ │ ├── manage_calltrue (optional)
│ │ ├── othertrue (optional)
│ │ ├── manage_topicstrue (optional)
│ │ ├── post_storiestrue (optional)
│ │ ├── edit_storiestrue (optional)
│ │ ├── delete_storiestrue (optional)
│ │ ├── manage_direct_messagestrue (optional)
│ │ └── manage_rankstrue (optional)
│ ├── banned_rightsChatBannedRights (optional)
│ │ └── ChatBannedRights
│ │ ├── view_messagestrue (optional)
│ │ ├── send_messagestrue (optional)
│ │ ├── send_mediatrue (optional)
│ │ ├── send_stickerstrue (optional)
│ │ ├── send_gifstrue (optional)
│ │ ├── send_gamestrue (optional)
│ │ ├── send_inlinetrue (optional)
│ │ ├── embed_linkstrue (optional)
│ │ ├── send_pollstrue (optional)
│ │ ├── change_infotrue (optional)
│ │ ├── invite_userstrue (optional)
│ │ ├── pin_messagestrue (optional)
│ │ ├── manage_topicstrue (optional)
│ │ ├── send_photostrue (optional)
│ │ ├── send_videostrue (optional)
│ │ ├── send_roundvideostrue (optional)
│ │ ├── send_audiostrue (optional)
│ │ ├── send_voicestrue (optional)
│ │ ├── send_docstrue (optional)
│ │ ├── send_plaintrue (optional)
│ │ ├── edit_ranktrue (optional)
│ │ └── until_dateint
│ ├── default_banned_rightsChatBannedRights (optional)
│ │ └── ChatBannedRights
│ │ ├── view_messagestrue (optional)
│ │ ├── send_messagestrue (optional)
│ │ ├── send_mediatrue (optional)
│ │ ├── send_stickerstrue (optional)
│ │ ├── send_gifstrue (optional)
│ │ ├── send_gamestrue (optional)
│ │ ├── send_inlinetrue (optional)
│ │ ├── embed_linkstrue (optional)
│ │ ├── send_pollstrue (optional)
│ │ ├── change_infotrue (optional)
│ │ ├── invite_userstrue (optional)
│ │ ├── pin_messagestrue (optional)
│ │ ├── manage_topicstrue (optional)
│ │ ├── send_photostrue (optional)
│ │ ├── send_videostrue (optional)
│ │ ├── send_roundvideostrue (optional)
│ │ ├── send_audiostrue (optional)
│ │ ├── send_voicestrue (optional)
│ │ ├── send_docstrue (optional)
│ │ ├── send_plaintrue (optional)
│ │ ├── edit_ranktrue (optional)
│ │ └── until_dateint
│ ├── participants_countint (optional)
│ ├── usernamesVector < Username > (optional)
│ │ └── Username
│ │ ├── editabletrue (optional)
│ │ ├── activetrue (optional)
│ │ └── usernamestring
│ ├── stories_max_idRecentStory (optional)
│ │ └── RecentStory
│ │ ├── livetrue (optional)
│ │ └── max_idint (optional)
│ ├── 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
│ ├── profile_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
│ ├── emoji_statusEmojiStatus (optional)
│ │ ├── EmojiStatusEmpty
│ │ ├── EmojiStatus
│ │ │ ├── document_idlong
│ │ │ └── untilint (optional)
│ │ ├── EmojiStatusCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── document_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── pattern_document_idlong
│ │ │ ├── center_colorint
│ │ │ ├── edge_colorint
│ │ │ ├── pattern_colorint
│ │ │ ├── text_colorint
│ │ │ └── untilint (optional)
│ │ └── InputEmojiStatusCollectible
│ │ ├── collectible_idlong
│ │ └── untilint (optional)
│ ├── levelint (optional)
│ ├── subscription_until_dateint (optional)
│ ├── bot_verification_iconlong (optional)
│ ├── send_paid_messages_starslong (optional)
│ └── linked_monoforum_idlong (optional)
├── broadcasttrue (optional)
├── megagrouptrue (optional)
├── monoforumtrue (optional)
├── idlong
├── access_hashlong
├── titlestring
└── until_dateint (optional)

Example

StarGiftActiveAuctions(
    auctions=[
            StarGiftActiveAuctionState(
                gift=StarGift(
                    limited=None,
                    sold_out=None,
                    birthday=None,
                    require_premium=None,
                    limited_per_user=None,
                    peer_color_available=None,
                    auction=None,
                    id=0,
                    sticker=DocumentEmpty(id=0),
                    stars=0,
                    availability_remains=None,
                    availability_total=None,
                    availability_resale=None,
                    convert_stars=0,
                    first_sale_date=None,
                    last_sale_date=None,
                    upgrade_stars=None,
                    resell_min_stars=None,
                    title=None,
                    released_by=None,
                    per_user_total=None,
                    per_user_remains=None,
                    locked_until_date=None,
                    auction_slug=None,
                    gifts_per_round=None,
                    auction_start_date=None,
                    upgrade_variants=None,
                    background=None
                ),
                state=StarGiftAuctionStateNotModified(),
                user_state=StarGiftAuctionUserState(
                    returned=None,
                    bid_amount=None,
                    bid_date=None,
                    min_bid_amount=None,
                    bid_peer=None,
                    acquired_count=0
                )
            )
        ],
    users=[
            UserEmpty(id=0)
        ],
    chats=[
            ChatEmpty(id=0)
        ],
)