InvoiceSendOptions Interface
Properties
allowSendingWithoutReplycurrencydescriptiondisableNotificationisFlexiblemaxTipAmountneedEmailneedNameneedPhoneNumberneedShippingAddresspayloadphotoHeightphotoSizephotoUrlphotoWidthpricesprotectContentproviderDataproviderTokenreplyMarkupreplyToMessageIdsendEmailToProvidersendPhoneNumberToProviderstartParametersuggestedTipAmountstitleProperties
allowSendingWithoutReply boolean
Pass *true* if the message should be sent even if the specified replied-to message is not found
See the codedisableNotification boolean
Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.
See the codemaxTipAmount number
The maximum accepted amount for tips in the *smallest units* of the currency (integer, **not** float). For example, for a maximum tip of
See the codeneedEmail boolean
Pass *true*, if you require the user's email address to complete the order
See the codeneedName boolean
Pass *true*, if you require the user's full name 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. People like it better when they see what they are paying for.
See the codeprices
Price breakdown, a list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
See the codeprotectContent boolean
Protects the contents of the sent message from forwarding and saving
See the codeproviderData string
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.
See the codeproviderToken string
Payments provider token, obtained via [@BotFather](https://t.me/botfather)
See the codereplyMarkup InlineKeyboardMarkup
An object for an [inline keyboard](https://core.telegram.org/bots#inline-keyboards-and-on-the-fly-updating). If empty, one 'Pay
See the codesendEmailToProvider boolean
Pass *true*, if user's email address should be sent to provider
See the codesendPhoneNumberToProvider boolean
Pass *true*, if user's phone number should be sent to provider
See the codestartParameter string
Unique deep-linking parameter. If left empty, forwarded copies of the sent message will have a *Pay* button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a *URL* button with a deep link to the bot (instead of a *Pay* button), with the value used as the start parameter
See the codesuggestedTipAmounts
An array of suggested amounts of tip in the *smallest units* of the currency (integer, **not** float). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed *maxTipAmount*.
See the code