WebPageAttributeUniqueStarGift

class pyrogram.raw.types.WebPageAttributeUniqueStarGift

Contains info about collectible gift » for a webPage preview of a collectible gift » (the webPage will have a type of telegram_nft).

Constructor of WebPageAttribute.

Details:
  • Layer: 223

  • ID: CF6F6DB8

Parameters:

gift (StarGift) – The starGiftUnique constructor.

TL Schema

webPageAttributeUniqueStarGift#cf6f6db8
gift:StarGift

= WebPageAttribute

Parameter Tree

WebPageAttributeUniqueStarGift
└── 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
│ ├── 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 >
│ │ ├── craftedtrue (optional)
│ │ ├── namestring
│ │ ├── documentDocument
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ └── rarityStarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarityRare
│ │ ├── StarGiftAttributeRarityEpic
│ │ ├── namestring
│ │ ├── documentDocument
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ └── rarityStarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarityRare
│ │ ├── StarGiftAttributeRarityEpic
│ │ ├── namestring
│ │ ├── backdrop_idint
│ │ ├── center_colorint
│ │ ├── edge_colorint
│ │ ├── pattern_colorint
│ │ ├── text_colorint
│ │ └── rarityStarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarity
│ │ ├── StarGiftAttributeRarityRare
│ │ ├── StarGiftAttributeRarityEpic
│ ├── 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)
│ └── collectible_idlong
├── host_idPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── offer_min_starsint (optional)
└── craft_chance_permilleint (optional)

Example

WebPageAttributeUniqueStarGift(
    gift=StarGift(
        id=0,
        sticker=DocumentEmpty(id=0),
        stars=0,
        convert_stars=0
    ),
)