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

x/grm/src/mod.ts>tl.Api.Invoice

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.Invoice
extends VirtualClass<{ test?: boolean; nameRequested?: boolean; phoneRequested?: boolean; emailRequested?: boolean; shippingAddressRequested?: boolean; flexible?: boolean; phoneToProvider?: boolean; emailToProvider?: boolean; recurring?: boolean; currency: string; prices: Api.TypeLabeledPrice[]; maxTipAmount?: long; suggestedTipAmounts?: long[]; recurringTermsUrl?: string; }>
import { tl } from "https://deno.land/x/grm@0.5.2/src/mod.ts";
const { Invoice } = tl.Api;

Properties

className: "Invoice"
classType: "constructor"
CONSTRUCTOR_ID: 1048946971
currency: string
optional
emailRequested: boolean
optional
emailToProvider: boolean
optional
flexible: boolean
optional
maxTipAmount: long
optional
nameRequested: boolean
optional
phoneRequested: boolean
optional
phoneToProvider: boolean
optional
recurring: boolean
optional
recurringTermsUrl: string
optional
shippingAddressRequested: boolean
SUBCLASS_OF_ID: 1608003288
optional
suggestedTipAmounts: long[]
optional
test: boolean