class payments_PaymentForm_
extends _payments_PaymentForm_
import { payments_PaymentForm_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";
Payment form
Constructors
new
payments_PaymentForm_(params: { can_save_credentials?: true; password_missing?: true; form_id: bigint; bot_id: bigint; title: string; description: string; photo?: enums.WebDocument; invoice: enums.Invoice; provider_id: bigint; url: string; native_provider?: string; native_params?: enums.DataJSON; additional_methods?: Array<enums.PaymentFormMethod>; saved_info?: enums.PaymentRequestedInfo; saved_credentials?: Array<enums.PaymentSavedCredentials>; users: Array<enums.User>; })Properties
protected
readonly
[params]: ParamsContains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:
- apple_pay_merchant_id
: Apple Pay merchant ID
- google_pay_public_key
: Google Pay public key
- need_country
: True, if the user country must be provided,
- need_zip
: True, if the user ZIP/postal code must be provided,
- need_cardholder_name
: True, if the cardholder name must be provided
Indicates that the user can save payment credentials, but only after setting up a 2FA password (currently the account doesn't have a 2FA password)
Static Properties
readonly
[paramDesc]: ParamDesc