Constructor type of
str) – Product name, 1-32 characters.
str) – Product description, 1-255 characters.
str) – Three-letter ISO 4217 currency code.
64-bit) – 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).
str) – Unique bot deep-linking parameter that can be used to generate this invoice.
bool, optional) – Whether the shipping address was requested.
bool, optional) – Whether this is an example invoice.
WebDocument, optional) – URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.
32-bit, optional) – Message ID of receipt: if set, clients should change the text of the first keyboardButtonBuy button always attached to the message to a localized version of the word Receipt.