payments.StarGiftCollections

class pyrogram.raw.types.payments.StarGiftCollections

Represents a list of star gift collections ».

Constructor of StarGiftCollections.

Details:
  • Layer: 227

  • ID: 8A2932F3

Parameters:

collections (List of StarGiftCollection) – Star gift collections.

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
└── 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 >
├── gifts_count → int
└── hash → long

Example

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