Skip to main content

inputBotInlineMessageMediaInvoice

An invoice

type tg.InputBotInlineMessageMediaInvoice struct { /* ... */ }

Implements InputBotInlineMessage.

Fields

NameTypeRequiredDescription
TitlestringyesProduct name, 1-32 characters
DescriptionstringyesProduct description, 1-255 characters
PhotoInputWebDocumentInvoice photo
InvoiceInvoiceyesThe invoice
Payload[]byteyesBot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.
ProviderstringyesPayments provider token, obtained via Botfather
ProviderDataDataJSONyesA 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.
ReplyMarkupReplyMarkupClassInline keyboard

References