payments.StarGiftUpgradeAttributes

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

This base type has 1 constructor available.

payments.StarGiftUpgradeAttributes

{schema}

Functions:

This object can be returned by 1 function.

payments.GetStarGiftUpgradeAttributes

{schema}

TL Schema

payments.starGiftUpgradeAttributes#46c6e36f
attributes:Vector<StarGiftAttribute>

= payments.StarGiftUpgradeAttributes

Parameter Tree

StarGiftUpgradeAttributes
└── attributesVector < StarGiftAttribute >
│ ├── 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
│ └── rarityStarGiftAttributeRarity
│ │ └── permilleint
│ ├── 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
│ └── rarityStarGiftAttributeRarity
│ │ └── permilleint
│ ├── namestring
│ ├── backdrop_idint
│ ├── center_colorint
│ ├── edge_colorint
│ ├── pattern_colorint
│ ├── text_colorint
│ └── rarityStarGiftAttributeRarity
│ │ └── permilleint
├── 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)

Example

StarGiftUpgradeAttributes(
    attributes=[
            StarGiftAttributeModel(
                crafted=None,
                name="text",
                document=DocumentEmpty(id=0),
                rarity=StarGiftAttributeRarity(permille=0)
            )
        ],
)