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.

NameTypeDescription
invoiceinvoiceInvoice.
titlestringProduct title; 1-32 characters.
descriptionstringProduct description; 0-255 characters.
photo_urlstringProduct photo URL; optional.
photo_sizenumberProduct photo size.
photo_widthnumberProduct photo width.
photo_heightnumberProduct photo height.
payloadstringThe invoice payload.
provider_tokenstringPayment provider token.
provider_datastringJSON-encoded data about the invoice, which will be shared with the payment provider.
start_parameterstringUnique invoice bot start_parameter for the generation of this invoice.

More details on telegram’s documentation.