Raw.InputBotInlineMessageMediaInvoice

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 : string

    Product name, 1-32 characters

  • description : string

    Product description, 1-255 characters

  • photo : Raw.TypeInputWebDocument or undefined

    Invoice photo

  • invoice : Raw.TypeInvoice

    The invoice

  • payload : Buffer

    Bot-defined invoice payload, 1-128 bytes. this will not be displayed to the user, use for your internal processes.

  • provider : string

    Payments provider token, obtained via botfather

  • providerData : Raw.TypeDataJSON

    A 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 undefined

    Inline keyboard