BotInlineMessageMediaInvoice
- class pyrogram.raw.types.BotInlineMessageMediaInvoice
Send an invoice
Constructor of
BotInlineMessage
.- Details:
Layer:
194
ID:
354A9B09
- Parameters:
title (
str
) – Product name, 1-32 charactersdescription (
str
) – Product description, 1-255 characterscurrency (
str
) – Three-letter ISO 4217 currency codetotal_amount (
int
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).shipping_address_requested (
bool
, optional) – Set this flag if you require the user’s shipping address to complete the ordertest (
bool
, optional) – Test invoicephoto (
WebDocument
, optional) – Product photoreply_markup (
ReplyMarkup
, optional) – Inline keyboard