Raw.InputBotInlineMessageMediaInvoice
An invoice
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;
export namespace Raw {
export class InputBotInlineMessageMediaInvoice {
constructor(params: {
title: string;
description: string;
photo?: Raw.TypeInputWebDocument;
invoice: Raw.TypeInvoice;
payload: Buffer;
provider: string;
providerData: Raw.TypeDataJSON;
replyMarkup?: Raw.TypeReplyMarkup;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xd7e78225
Property
title
: stringProduct name, 1-32 characters
description
: stringProduct description, 1-255 characters
photo
: Raw.TypeInputWebDocument or undefinedInvoice photo
invoice
: Raw.TypeInvoiceThe invoice
payload
: BufferBot-defined invoice payload, 1-128 bytes. this will not be displayed to the user, use for your internal processes.
provider
: stringPayments provider token, obtained via botfather
providerData
: Raw.TypeDataJSONA 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
: Raw.TypeReplyMarkup or undefinedInline keyboard