MadelineProto/docs/API_docs/constructors/payments_paymentForm.md

1.7 KiB

title description
payments.paymentForm payments_paymentForm attributes, type and example

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], ];

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}, }