TDLib v0.0.2 TDLib.Object.InputMessageInvoice View Source
A message with an invoice; can be used only by bots and only in private chats.
Name | Type | Description |
---|---|---|
invoice | invoice | Invoice. |
title | string | Product title; 1-32 characters. |
description | string | Product description; 0-255 characters. |
photo_url | string | Product photo URL; optional. |
photo_size | number | Product photo size. |
photo_width | number | Product photo width. |
photo_height | number | Product photo height. |
payload | string | The invoice payload. |
provider_token | string | Payment provider token. |
provider_data | string | JSON-encoded data about the invoice, which will be shared with the payment provider. |
start_parameter | string | Unique invoice bot start_parameter for the generation of this invoice. |
More details on telegram’s documentation.