InputMessageInvoice¶
A message with an invoice; can be used only by bots
InputMessageInvoice(
invoice: Invoice,
title: string,
description: string,
photo_url: string,
photo_size: int32,
photo_width: int32,
photo_height: int32,
payload: bytes,
provider_token: string,
provider_data: string,
start_parameter: string,
paid_media: InputPaidMedia,
paid_media_caption: FormattedText
) → InputMessageContent
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¶
int32
Product photo size
photo_width¶
int32
Product photo width
photo_height¶
int32
Product photo height
payload¶
bytes
The invoice payload
provider_token¶
string
Payment provider token; may be empty for payments in Telegram Stars
provider_data¶
string
JSON-encoded data about the invoice, which will be shared with the payment provider
start_parameter¶
string
Unique invoice bot deep link parameter for the generation of this invoice. If empty, it would be possible to pay directly from forwards of the invoice message
paid_media¶
The content of paid media attached to the invoice; pass null if none
paid_media_caption¶
Paid media caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters