Skip to main content
Module

x/grm/mod.ts>Api.Invoice

MTProto API Client for Deno 🦕
Go to 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.0/mod.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
prices: Api.TypeLabeledPrice[]
optional
recurring: boolean
optional
recurringTermsUrl: string
optional
shippingAddressRequested: boolean
SUBCLASS_OF_ID: 1608003288
optional
suggestedTipAmounts: long[]
optional
test: boolean

Static Methods

fromReader(reader: Reader): Invoice