payments.ResaleStarGifts

class pyrogram.raw.types.payments.ResaleStarGifts

List of gifts currently on resale ».

Constructor of ResaleStarGifts.

Details:
  • Layer: 223

  • ID: 947A12DF

Parameters:
  • count (int 32-bit) – Total number of results.

  • gifts (List of StarGift) – Collectible gifts on resale (may be less than count, in which case next_offset will be set).

  • chats (List of Chat) – Chats mentioned in the attributes.

  • users (List of User) – Users mentioned in the attributes.

  • next_offset (str, optional) – Offset for pagination, pass this to payments.getResaleStarGifts.offset to fetch the next results.

  • attributes (List of StarGiftAttribute, optional) – Possible gift attributes, only set if payments.getResaleStarGifts.attributes_hash is set (on the first call, it must be equal to 0).

  • attributes_hash (int 64-bit, optional) – Hash of the attributes field, pass this to payments.getResaleStarGifts.attributes_hash to avoid returning any attributes (flag not set) if they haven’t changed.

  • counters (List of StarGiftAttributeCounter, optional) – Indicates the total number of gifts that have a specific attribute, only set if payments.getResaleStarGifts.offset is empty (since this field is not related to the current result page but to all of them, it’s only returned on the first page).

Functions:

This object can be returned by 1 function.

payments.GetResaleStarGifts

Get collectible gifts of a specific type currently on resale, see here » for more info.

TL Schema

payments.resaleStarGifts#947a12df
flags:#
count:int
gifts:Vector<StarGift>
next_offset:flags.0?string
attributes:flags.1?Vector<StarGiftAttribute>
attributes_hash:flags.1?long
chats:Vector<Chat>
counters:flags.2?Vector<StarGiftAttributeCounter>
users:Vector<User>

= payments.ResaleStarGifts

Parameter Tree

ResaleStarGifts
├── countint
├── giftsVector < StarGift >
│ ├── 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)
├── next_offsetstring (optional)
├── attributesVector < StarGiftAttribute > (optional)
│ │ ├── craftedtrue (optional)
│ │ ├── namestring
│ │ ├── documentDocument
│ │ │ ├── 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
│ │ └── rarityStarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarity
│ │ │ └── permilleint
│ │ ├── StarGiftAttributeRarityRare
│ │ ├── StarGiftAttributeRarityEpic
│ │ ├── namestring
│ │ ├── documentDocument
│ │ │ ├── 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
│ │ └── rarityStarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarity
│ │ │ └── permilleint
│ │ ├── StarGiftAttributeRarityRare
│ │ ├── StarGiftAttributeRarityEpic
│ │ ├── namestring
│ │ ├── backdrop_idint
│ │ ├── center_colorint
│ │ ├── edge_colorint
│ │ ├── pattern_colorint
│ │ ├── text_colorint
│ │ └── rarityStarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarity
│ │ │ └── permilleint
│ │ ├── StarGiftAttributeRarityRare
│ │ ├── StarGiftAttributeRarityEpic
│ ├── sender_idPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── recipient_idPeer
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── dateint
│ └── messageTextWithEntities (optional)
│ └── TextWithEntities
│ ├── textstring
│ └── entitiesVector < MessageEntity >
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
├── attributes_hashlong (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)
│ └── ChannelForbidden
│ ├── broadcasttrue (optional)
│ ├── megagrouptrue (optional)
│ ├── monoforumtrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── titlestring
│ └── until_dateint (optional)
├── countersVector < StarGiftAttributeCounter > (optional)
│ ├── attributeStarGiftAttributeId
│ │ ├── StarGiftAttributeIdModel
│ │ │ └── document_idlong
│ │ ├── StarGiftAttributeIdPattern
│ │ │ └── document_idlong
│ │ └── StarGiftAttributeIdBackdrop
│ │ └── backdrop_idint
│ └── 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)
│ │ ├── collectible_idlong
│ │ ├── document_idlong
│ │ ├── titlestring
│ │ ├── slugstring
│ │ ├── pattern_document_idlong
│ │ ├── center_colorint
│ │ ├── edge_colorint
│ │ ├── pattern_colorint
│ │ ├── text_colorint
│ │ └── untilint (optional)
│ ├── 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)
│ └── 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)
│ └── collectible_idlong
├── bot_active_usersint (optional)
├── bot_verification_iconlong (optional)
└── send_paid_messages_starslong (optional)

Example

ResaleStarGifts(
    count=0,
    gifts=[
            StarGift(
                id=0,
                sticker=DocumentEmpty(id=0),
                stars=0,
                convert_stars=0
            )
        ],
    chats=[
            ChatEmpty(id=0)
        ],
    users=[
            UserEmpty(id=0)
        ],
)