telegram api method · layer 229 · #80ed747d
payments.assignAppStoreTransaction
Informs server about a purchase made through the App Store: for official applications only.
definition
payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaymentPurpose = Updates;
parameters
| name | type | description |
|---|---|---|
receipt | bytes | Receipt |
purpose | InputStorePaymentPurpose | Payment purpose |
returns
errors (3)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | INPUT_PURPOSE_INVALID | The specified payment purpose is invalid. |
| 400 | RECEIPT_EMPTY | The specified receipt is empty. |
history
present in layers 143–229 · constructor id changed 1×
| id | layers |
|---|---|
| #0d5ccfd0 | 143 |
| #80ed747d | 144–229 |