Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/2_tl.ts>types.Invoice

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.Invoice
extends _TypeInvoice
import { types } from "https://deno.land/x/mtkruto@0.0.999/2_tl.ts";
const { Invoice } = types;

Constructors

new
Invoice(params: { test?: true; nameRequested?: true; phoneRequested?: true; emailRequested?: true; shippingAddressRequested?: true; flexible?: true; phoneToProvider?: true; emailToProvider?: true; recurring?: true; currency: string; prices: Array<TypeLabeledPrice>; maxTipAmount?: bigint; suggestedTipAmounts?: Array<bigint>; recurringTermsUrl?: string; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
currency: string
optional
emailRequested: true
optional
emailToProvider: true
optional
flexible: true
optional
maxTipAmount: bigint
optional
nameRequested: true
optional
phoneRequested: true
optional
phoneToProvider: true
prices: Array<TypeLabeledPrice>
optional
recurring: true
optional
recurringTermsUrl: string
optional
shippingAddressRequested: true
optional
suggestedTipAmounts: Array<bigint>
optional
test: true

Static Properties

readonly
[paramDesc]: ParamDesc