Layer 227
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

Updates

Gogram 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.