PaymentReceipt

class pyrogram.raw.types.payments.PaymentReceipt

Receipt.

Constructor type of PaymentReceipt.

Details
  • Layer: 126

  • ID: 0x500911e1

Parameters
  • date (int 32-bit) – Date of generation.

  • bot_id (int 32-bit) – Bot ID.

  • invoice (Invoice) – Invoice.

  • provider_id (int 32-bit) – Provider ID.

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

  • total_amount (int 64-bit) – Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).

  • credentials_title (str) – Payment credential name.

  • users (List of User) – Users.

  • info (PaymentRequestedInfo, optional) – Info.

  • shipping (ShippingOption, optional) – Selected shipping option.

Methods

This object can be returned by 1 method:

payments.GetPaymentReceipt

Get payment receipt.