payments.ResaleStarGifts¶
- class pyrogram.raw.types.payments.ResaleStarGifts[source]¶
List of gifts currently on resale ».
Constructor of
ResaleStarGifts.- Details:
Layer:
229ID:
947A12DF
- Parameters:
count (
int32-bit) – Total number of results.gifts (List of
StarGift) – Collectible gifts on resale (may be less thancount, in which casenext_offsetwill be set).chats (List of
Chat) – Chats mentioned in the attributes.users (List of
User) – Users mentioned in the attributes.next_offset (
str, optional) – Offset for pagination, pass this to payments.getResaleStarGifts.offsetto fetch the next results.attributes (List of
StarGiftAttribute, optional) – Possible gift attributes, only set if payments.getResaleStarGifts.attributes_hashis set (on the first call, it must be equal to0).attributes_hash (
int64-bit, optional) – Hash of theattributesfield, pass this to payments.getResaleStarGifts.attributes_hashto avoid returning any attributes (flag not set) if they haven’t changed.counters (List of
StarGiftAttributeCounter, optional) – Indicates the total number of gifts that have a specific attribute, only set if payments.getResaleStarGifts.offsetis empty (since this field is not related to the current result page but to all of them, it’s only returned on the first page).
- Functions:
This object can be returned by 1 function.
Get collectible gifts of a specific type currently on resale, see here » for more info.