1.9 KiB
1.9 KiB
title | description | image |
---|---|---|
payments.paymentForm | Payment form | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: payments.paymentForm
Payment form
Attributes:
Name | Type | Required | Description |
---|---|---|---|
can_save_credentials | Bool | Optional | Can save credentials? |
password_missing | Bool | Optional | Password missing? |
bot_id | int | Yes | Bot ID |
invoice | Invoice | Yes | Invoice |
provider_id | int | Yes | Provider ID |
url | string | Yes | URL |
native_provider | string | Optional | Native provider |
native_params | DataJSON | Optional | Native params |
saved_info | PaymentRequestedInfo | Optional | Saved info |
saved_credentials | PaymentSavedCredentials | Optional | Saved credentials |
users | Array of User | Yes | Users |
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]];
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}}