inputBotInlineMessageMediaInvoice
An invoice
type tg.InputBotInlineMessageMediaInvoice struct { /* ... */ }
Implements InputBotInlineMessage.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Title | string | yes | Product name, 1-32 characters |
Description | string | yes | Product description, 1-255 characters |
Photo | InputWebDocument | — | Invoice photo |
Invoice | Invoice | yes | The invoice |
Payload | []byte | yes | Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes. |
Provider | string | yes | Payments provider token, obtained via Botfather |
ProviderData | DataJSON | yes | 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. |
ReplyMarkup | ReplyMarkupClass | — | Inline keyboard |
References
- Official documentation
- Generated Go reference
- TL definition:
inputBotInlineMessageMediaInvoice#d7e78225