MessageMediaInvoice
- class pyrogram.raw.types.MessageMediaInvoice
 Invoice
Constructor of
MessageMedia.- Details:
 Layer:
196ID:
F6A548D3
- Parameters:
 title (
str) – Product name, 1-32 charactersdescription (
str) – Product description, 1-255 characterscurrency (
str) – Three-letter ISO 4217 currency codetotal_amount (
int64-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).start_param (
str) – Unique bot deep-linking parameter that can be used to generate this invoiceshipping_address_requested (
bool, optional) – Whether the shipping address was requestedtest (
bool, optional) – Whether this is an example invoicephoto (
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.receipt_msg_id (
int32-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 Receiptextended_media (
MessageExtendedMedia, optional) – Extended media
- Functions:
 This object can be returned by 3 functions.
Get preview of webpage
Upload a file and associate it to a chat (without actually sending it to the chat)
Upload a media file associated with an imported chat, click here for more info ».