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

x/grm/tl/api.d.ts>Api.Invoice

MTProto API Client for Deno 🦕
Latest
class 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 { Api } from "https://deno.land/x/grm@0.8.2/tl/api.d.ts";
const { Invoice } = 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