Layer 220
PaymentsAssignPlayMarketTransaction
Informs server about a purchase made through the Play Store: for official applications only.
method
Users
payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Receipt | DataJSON | Receipt |
| Purpose | InputStorePaymentPurpose | Payment purpose |
Returns
UpdatesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | DATA_JSON_INVALID | The provided JSON data is invalid. |
Gogram Example
// PaymentsAssignPlayMarketTransaction - positional arguments result, err := client.PaymentsAssignPlayMarketTransaction(&tg.DataJson{}, &tg.InputStorePaymentPurpose{}) if err != nil { // handle error } // result is *tg.Updates