payments.PaymentReceipt

class pyrogram.raw.types.payments.PaymentReceipt

Receipt

Constructor of PaymentReceipt.

Details:
  • Layer: 187

  • ID: 70C4FE03

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

  • bot_id (int 64-bit) – Bot ID

  • provider_id (int 64-bit) – Provider ID

  • title (str) – Title

  • description (str) – Description

  • invoice (Invoice) – Invoice

  • 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

  • photo (WebDocument, optional) – Photo

  • info (PaymentRequestedInfo, optional) – Info

  • shipping (ShippingOption, optional) – Selected shipping option

  • tip_amount (int 64-bit, optional) – Tipped amount

Functions:

This object can be returned by 1 function.

payments.GetPaymentReceipt

Get payment receipt