Constructor: payments.resaleStarGifts
List of gifts currently on resale ».
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| count | int | Yes | Total number of results. |
| gifts | Array of StarGift | Yes | Collectible gifts on resale (may be less than count, in which case next_offset will be set). |
| next_offset | string | Optional | Offset for pagination, pass this to payments.getResaleStarGifts.offset to fetch the next results. |
| attributes | Array of StarGiftAttribute | Optional | Possible gift attributes, only set if payments.getResaleStarGifts.attributes_hash is set (on the first call, it must be equal to 0). |
| attributes_hash | long | Optional | Hash 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 | Array of Chat | Yes | Chats mentioned in the attributes. |
| counters | Array of StarGiftAttributeCounter | Optional | Indicates 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 | Array of User | Yes | Users mentioned in the attributes. |
Type: payments.ResaleStarGifts
Example:
$payments_resaleStarGifts = ['_' => 'payments.resaleStarGifts', 'count' => int, 'gifts' => [StarGift, StarGift], 'next_offset' => 'string', 'attributes' => [StarGiftAttribute, StarGiftAttribute], 'attributes_hash' => long, 'chats' => [Chat, Chat], 'counters' => [StarGiftAttributeCounter, StarGiftAttributeCounter], 'users' => [User, User]];