telegram api constructor · layer 229 · #d7e78225

inputBotInlineMessageMediaInvoice

An invoice

definition

inputBotInlineMessageMediaInvoice#d7e78225 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

parameters

nametypedescription
flags#Flags, see TL conditional fields
titlestringProduct name, 1-32 characters
descriptionstringProduct description, 1-255 characters
photoflags.0?InputWebDocumentInvoice photo
invoiceInvoiceThe invoice
payloadbytesBot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.
providerstringPayments provider token, obtained via Botfather
provider_dataDataJSONA 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.
reply_markupflags.2?ReplyMarkupInline keyboard

type

InputBotInlineMessage · other constructors: inputBotInlineMessageMediaAuto, inputBotInlineMessageText, inputBotInlineMessageMediaGeo, inputBotInlineMessageMediaVenue, inputBotInlineMessageMediaContact, inputBotInlineMessageGame, inputBotInlineMessageMediaWebPage, inputBotInlineMessageRichMessage

history

present in layers 127–229

idlayers
#d7e78225127–229