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

x/mtkruto/tl/2_types.ts>Invoice

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Invoice
extends TypeInvoice
import { Invoice } from "https://deno.land/x/mtkruto@0.0.820/tl/2_types.ts";

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