Data about the contains basic information about an invoice
Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars
Product description
Unique bot deep-linking parameter that can be used to generate this invoice
Product name
Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
The client that instantiated this
Protected
_cloneProtected
_patchProtected
_updateUse this method to create a link for an invoice.
Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes
Price breakdown, a list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
Optional
options: Omit<{ out parameters
Returns the created invoice link as String on success.
Flatten an object. Any properties that are collections will get converted to an array of keys.
Optional
propsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Rest
...props: Record<string, string | boolean>[]Optional. Specific properties to include/exclude, or rename.
Flattened object.
The client that instantiated this