Layer 227
PaymentsResolveStarGiftOffer
Accept or decline a previously received collectible gift purchase offer, see here for the full flow.
method
Users
Bots
payments.resolveStarGiftOffer#e9ce781c flags:# decline:flags.0?true offer_msg_id:int = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Decline | flags .0? true | If set, declines the offer; otherwise, accepts it. |
| OfferMsgId | int | Identifier of the message Action Star Gift Purchase Offer service message describing the offer to act upon. |
Returns
UpdatesGogram Example
// PaymentsResolveStarGiftOffer - positional arguments result, err := client.PaymentsResolveStarGiftOffer(nil, 42) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |