Constructor: botInlineMessageMediaInvoice
Send an invoice
Attributes:
Name | Type | Required | Description |
---|---|---|---|
shipping_address_requested | Bool | Optional | Set this flag if you require the user’s shipping address to complete the order |
test | Bool | Optional | Test invoice |
title | string | Yes | Product name, 1-32 characters |
description | string | Yes | Product description, 1-255 characters |
photo | WebDocument | Optional | Product photo |
currency | string | Yes | Three-letter ISO 4217 currency code |
total_amount | long | Yes | 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). |
reply_markup | ReplyMarkup | Optional | Inline keyboard |
Type: BotInlineMessage
Usage of reply_markup
You can provide bot API reply_markup objects here.
Example:
$botInlineMessageMediaInvoice = ['_' => 'botInlineMessageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'currency' => 'string', 'total_amount' => long, 'reply_markup' => ReplyMarkup];