class MessageMediaInvoice_
extends _MessageMedia_
import { MessageMediaInvoice_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Invoice
Properties
protected
readonly
[params]: ParamsThree-letter ISO 4217 currency code
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.
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
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).
Static Properties
readonly
[paramDesc]: ParamDesc