2.0 KiB
2.0 KiB
title | description |
---|---|
payments.paymentForm | payments_paymentForm attributes, type and example |
Constructor: payments.paymentForm
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]];
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}}