Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>payments_sendPaymentForm_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class payments_sendPaymentForm_
extends Function_<enums.payments.PaymentResult>
import { payments_sendPaymentForm_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Send compiled payment form

Constructors

new
payments_sendPaymentForm_(params: { form_id: bigint; invoice: enums.InputInvoice; requested_info_id?: string; shipping_option_id?: string; credentials: enums.InputPaymentCredentials; tip_amount?: bigint; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
credentials: enums.InputPaymentCredentials

Payment credentials

form_id: bigint

Form ID

invoice: enums.InputInvoice

Invoice

optional
requested_info_id: string

ID of saved and validated order info

optional
shipping_option_id: string

Chosen shipping option ID

optional
tip_amount: bigint

Tip, in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).

Static Properties

__F: (params: { form_id: bigint; invoice: enums.InputInvoice; requested_info_id?: string; shipping_option_id?: string; credentials: enums.InputPaymentCredentials; tip_amount?: bigint; }) => enums.payments.PaymentResult
readonly
[name]: string
readonly
[paramDesc]: ParamDesc