SuccessfulPayment

class pyrogram.types.SuccessfulPayment

Contains information about a successful payment.

Parameters:
  • currency (str) – Three-letter ISO 4217 currency code.

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

  • payload (str, optional) – Bot specified invoice payload. Only available to the bot that received the payment.

  • telegram_payment_charge_id (str, optional) – Telegram payment identifier. Only available to the bot that received the payment.

  • provider_payment_charge_id (str, optional) – Provider payment identifier. Only available to the bot that received the payment.

  • shipping_option_id (str, optional) – Identifier of the shipping option chosen by the user. Only available to the bot that received the payment.

  • payment_info (PaymentInfo, optional) – Payment information provided by the user. Only available to the bot that received the payment.