StarGiftCollection#
- class pyrogram.raw.types.StarGiftCollection#
Represents a star gift collection .
Constructor of
StarGiftCollection.- Details:
Layer:
220ID:
9D6B13B0
- Parameters:
collection_id (
int32-bit) – The ID of the collection.title (
str) – Title of the collection.gifts_count (
int32-bit) – Number of gifts in the collection.hash (
int64-bit) – Field to use instead of collection_id when generating the hash to pass to payments.getStarGiftCollections.icon (
Document, optional) – Optional icon for the collection, taken from the first gift in the collection.
- Functions:
This object can be returned by 2 functions.
Create a star gift collection .
Add or remove gifts from a star gift collection , or rename the collection.