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

2.1 KiB

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

Constructor: payments.paymentForm

Back to constructors index

Attributes:

Name Type Required
can_save_credentials Bool Optional
password_missing Bool Optional
bot_id int Yes
invoice Invoice Yes
provider_id int Yes
url string Yes
native_provider string Optional
native_params DataJSON Optional
saved_info PaymentRequestedInfo Optional
saved_credentials PaymentSavedCredentials Optional
users Array of User Yes

Type: payments_PaymentForm

Example:

$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]];

PWRTelegram json-encoded version:

{"_": "payments.paymentForm", "can_save_credentials": Bool, "password_missing": Bool, "bot_id": int, "invoice": Invoice, "provider_id": int, "url": "string", "native_provider": "string", "native_params": DataJSON, "saved_info": PaymentRequestedInfo, "saved_credentials": PaymentSavedCredentials, "users": [User]}

Or, if you're into Lua:

payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}}