Invoice

class pyrogram.types.Invoice

Contains information about an Invoice.

Parameters:
  • title (str) – Product name.

  • description (str) – Product description.

  • currency (str) – Currency code.

  • total_amount (int) – Total price in the smallest units of the currency.

  • start_parameter (str) – Unique bot deep-linking parameter that can be used to generate this invoice.

  • shipping_address_requested (bool, optional) – True, if the the shipping address is requested.

  • test (bool, optional) – True, if the invoice is a test invoice.

  • receipt_message_id (int, optional) – The message_id of the message sent to the chat when the invoice is paid.