InputInvoiceMessageContent Interface
Properties
maxTipAmount number
The maximum accepted amount for tips in the *smallest units* of the currency. For example, for a maximum tip of US$ 1.45 pass
See the codeneedEmail boolean
Pass *true* if you require the user's email address to complete the order
See the codeneedPhoneNumber boolean
Pass *true* if you require the user's phone number to complete the order
See the codeneedShippingAddress boolean
Pass *true* if you require the user's shipping address to complete the order
See the codepayload string
Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.
See the codephotoUrl string
URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service.
See the codeprices
Price breakdown, a list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
See the codeproviderData string
A JSON-serialized object for data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
See the codeproviderToken string
Payment provider token, obtained via [@BotFather](https://t.me/BotFather)
See the codesendEmailToProvider boolean
Pass *true* if the user's email address should be sent to provider
See the codesendPhoneNumberToProvider boolean
Pass *true* if the user's phone number should be sent to provider
See the codesuggestedTipAmounts
An array of suggested amounts of tip in the smallest units of the currency. At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased orderandmust not exceed *max_tip_amount*.
See the code