send Invoice
Use this method to send invoices. On success, the sent Message is returned.
Use this method to send invoices. On success, the sent Message is returned.
Parameters
Unique identifier for the target private chat
Product name, 1-32 characters
Product description, 1-255 characters
Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.
Payments provider token, obtained via Botfather
Unique deep-linking parameter that can be used to generate this invoice when used as a start parameter
Three-letter ISO 4217 currency code, see more on currencies
Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
A JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
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.
Photo size
Photo width
Photo height
Pass True, if you require the user's full name to complete the order
Pass True, if you require the user's phone number to complete the order
Pass True, if you require the user's email address to complete the order
Pass True, if you require the user's shipping address to complete the order
Pass True, if user's phone number should be sent to provider
Pass True, if user's email address should be sent to provider
Pass True, if the final price depends on the shipping method
Sends the message silently. Users will receive a notification with no sound.
If the message is a reply, ID of the original message
Pass True, if the message should be sent even if the specified replied-to message is not found
A JSON-serialized object for an inline keyboard. If empty, one 'Pay total price' button will be shown. If not empty, the first button must be a Pay button.