Optional
_extendedMedia: MessageMediaTotal price in the smallest units of the currency
(integer, not float/double). For example, for a price
of US$ 1.45
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).
Three-letter ISO 4217 currency code
Product description, 1-255 characters
Get the invoice's extended media.
Only available if extendedMediaState is full
.
Otherwise, throws an error.
Get the invoice's extended media preview.
Only available if extendedMediaState is preview
.
Otherwise, throws an error.
If this invoice has extended media
Input media TL object generated from this object, to be used inside InputMediaLike and TelegramClient.sendMedia.
Invoice can't provide an input media, since some
of the data is not available to the user,
which is required to send it. This getter
is only provided to allow using msg.media.inputMedia
URL of the product photo for the invoice
Message ID of receipt
Unique bot deep-linking parameter that can be used to generate this invoice
Product name, 1-32 characters
An invoice