MadelineProtoDocs/old_docs/API_docs_v81/constructors/inputPaymentCredentialsAndroidPay.md
2018-07-12 20:24:55 +02:00

1.1 KiB

title description image
inputPaymentCredentialsAndroidPay inputPaymentCredentialsAndroidPay attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPaymentCredentialsAndroidPay

Back to constructors index

Attributes:

Name Type Required
payment_token DataJSON Yes
google_transaction_id string Yes

Type: InputPaymentCredentials

Example:

$inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay', 'payment_token' => DataJSON, 'google_transaction_id' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputPaymentCredentialsAndroidPay", "payment_token": DataJSON, "google_transaction_id": "string"}

Or, if you're into Lua:

inputPaymentCredentialsAndroidPay={_='inputPaymentCredentialsAndroidPay', payment_token=DataJSON, google_transaction_id='string'}