Skip to main content

payments.resaleStarGifts

List of gifts currently on resale ».

type tg.PaymentsResaleStarGifts struct { /* ... */ }

Fields

NameTypeRequiredDescription
CountintyesTotal number of results.
Gifts[]StarGiftClassyesCollectible gifts on resale (may be less than count, in which case next_offset will be set).
NextOffsetstringOffset for pagination, pass this to payments.getResaleStarGifts.offset to fetch the next results.
Attributes[]StarGiftAttributeClassPossible gift attributes, only set if payments.getResaleStarGifts.attributes_hash is set (on the first call, it must be equal to 0).
AttributesHashint64Hash of the attributes field, pass this to payments.getResaleStarGifts attributes_hash to avoid returning any attributes (flag not set) if they haven't changed.
Chats[]ChatClassyesChats mentioned in the attributes.
Counters[]StarGiftAttributeCounterIndicates the total number of gifts that have a specific attribute, only set if payments.getResaleStarGifts.offset is 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).
Users[]UserClassyesUsers mentioned in the attributes.

Returned by

References