payments.StarGiftCollections

class pyrogram.raw.base.payments.StarGiftCollections

Represents a list of star gift collections ».

Constructors:

This base type has 2 constructors available.

payments.StarGiftCollections

Represents a list of star gift collections ».

payments.StarGiftCollectionsNotModified

The list of star gift collections » hasn't changed.

Functions:

This object can be returned by 1 function.

payments.GetStarGiftCollections

Fetches all star gift collections » of a peer.

TL Schema

payments.starGiftCollections#8a2932f3
collections:Vector<StarGiftCollection>

= payments.StarGiftCollections

Parameter Tree

StarGiftCollections
└── collectionsVector < StarGiftCollection >
├── collection_idint
├── titlestring
├── iconDocument (optional)
│ ├── 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 >
├── gifts_countint
└── hashlong

Example

StarGiftCollections(
    collections=[
            StarGiftCollection(
                collection_id=0,
                title="text",
                icon=None,
                gifts_count=0,
                hash=0
            )
        ],
)