payments.StarGiftUpgradeAttributes
- class pyrogram.raw.types.payments.StarGiftUpgradeAttributes
{schema}
Constructor of
StarGiftUpgradeAttributes.- Details:
Layer:
223ID:
46C6E36F
- Parameters:
attributes (List of
StarGiftAttribute)
- Functions:
This object can be returned by 1 function.
{schema}
TL Schema
payments.starGiftUpgradeAttributes#46c6e36f
attributes:Vector<StarGiftAttribute>
= payments.StarGiftUpgradeAttributes
Parameter Tree
StarGiftUpgradeAttributes
└── attributes →
Vector < StarGiftAttribute >│ ├── crafted →
true (optional)│ ├── name →
string│ ├── document →
Document│ │ ├──
DocumentEmpty│ │ │ └── id →
long│ │ └──
Document│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── file_reference →
bytes│ │ ├── date →
int│ │ ├── mime_type →
string│ │ ├── size →
long│ │ ├── thumbs →
Vector < PhotoSize > (optional)│ │ │ ├──
PhotoSizeEmpty│ │ │ ├──
PhotoSize│ │ │ ├──
PhotoCachedSize│ │ │ ├──
PhotoStrippedSize│ │ │ ├──
PhotoSizeProgressive│ │ │ └──
PhotoPathSize│ │ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ │ ├──
VideoSize│ │ │ ├──
VideoSizeEmojiMarkup│ │ │ └──
VideoSizeStickerMarkup│ │ ├── dc_id →
int│ │ └── attributes →
Vector < DocumentAttribute >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ └── rarity →
StarGiftAttributeRarity│ ├──
StarGiftAttributeRarity│ │ └── permille →
int│ ├── name →
string│ ├── document →
Document│ │ ├──
DocumentEmpty│ │ │ └── id →
long│ │ └──
Document│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── file_reference →
bytes│ │ ├── date →
int│ │ ├── mime_type →
string│ │ ├── size →
long│ │ ├── thumbs →
Vector < PhotoSize > (optional)│ │ │ ├──
PhotoSizeEmpty│ │ │ ├──
PhotoSize│ │ │ ├──
PhotoCachedSize│ │ │ ├──
PhotoStrippedSize│ │ │ ├──
PhotoSizeProgressive│ │ │ └──
PhotoPathSize│ │ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ │ ├──
VideoSize│ │ │ ├──
VideoSizeEmojiMarkup│ │ │ └──
VideoSizeStickerMarkup│ │ ├── dc_id →
int│ │ └── attributes →
Vector < DocumentAttribute >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ └── rarity →
StarGiftAttributeRarity│ ├──
StarGiftAttributeRarity│ │ └── permille →
int│ ├── name →
string│ ├── backdrop_id →
int│ ├── center_color →
int│ ├── edge_color →
int│ ├── pattern_color →
int│ ├── text_color →
int│ └── rarity →
StarGiftAttributeRarity│ ├──
StarGiftAttributeRarity│ │ └── permille →
int├── sender_id →
Peer (optional)│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── recipient_id →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── date →
int└── message →
TextWithEntities (optional)└──
TextWithEntitiesExample
StarGiftUpgradeAttributes(
attributes=[
StarGiftAttributeModel(
name="text",
document=DocumentEmpty(id=0),
rarity=StarGiftAttributeRarity(permille=0)
)
],
)