payments.StarGiftCollections
- class pyrogram.raw.base.payments.StarGiftCollections
Represents a list of star gift collections ».
- Constructors:
This base type has 2 constructors available.
Represents a list of star gift collections ».
The list of star gift collections » hasn't changed.
- Functions:
This object can be returned by 1 function.
Fetches all star gift collections » of a peer.
TL Schema
payments.starGiftCollections#8a2932f3
collections:Vector<StarGiftCollection>
= payments.StarGiftCollections
Parameter Tree
StarGiftCollections
└── collections →
Vector < StarGiftCollection >├── collection_id →
int├── title →
string├── icon →
Document (optional)│ ├──
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 >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── gifts_count →
int└── hash →
longExample
StarGiftCollections(
collections=[
StarGiftCollection(
collection_id=0,
title="text",
icon=None,
gifts_count=0,
hash=0
)
],
)