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_getPaymentForm_

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

Get a payment form

Constructors

new
payments_getPaymentForm_(params: { invoice: enums.InputInvoice; theme_params?: enums.DataJSON; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
invoice: enums.InputInvoice

Invoice

optional
theme_params: enums.DataJSON

A JSON object with the following keys, containing color theme information (integers, RGB24) to pass to the payment provider, to apply in eventual verification pages:
bg_color - Background color
text_color - Text color
hint_color - Hint text color
link_color - Link color
button_color - Button color
button_text_color - Button text color

Static Properties

__F: (params: { invoice: enums.InputInvoice; theme_params?: enums.DataJSON; }) => enums.payments.PaymentForm
readonly
[name]: string
readonly
[paramDesc]: ParamDesc