class pyrogram.raw.types.InputMediaInvoice

Generated invoice of a bot payment.

Constructor type of InputMedia.

  • Layer: 126

  • ID: 0xf4e096c3

  • title (str) – Product name, 1-32 characters.

  • description (str) – Product description, 1-255 characters.

  • invoice (Invoice) – The actual invoice.

  • payload (bytes) – Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.

  • provider (str) – Payments provider token, obtained via Botfather.

  • provider_data (DataJSON) – JSON-encoded data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.

  • start_param (str) – Start parameter.

  • photo (InputWebDocument, optional) – URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.