payments.PaymentReceipt#
- class pyrogram.raw.types.payments.PaymentReceipt#
Receipt
Constructor of
PaymentReceipt.- Details:
Layer:
214ID:
70C4FE03
- Parameters:
date (
int32-bit) – Date of generationbot_id (
int64-bit) – Bot IDprovider_id (
int64-bit) – Provider IDtitle (
str) – Titledescription (
str) – Descriptioninvoice (
Invoice) – Invoicecurrency (
str) – Three-letter ISO 4217 currency codetotal_amount (
int64-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 nameusers (List of
User) – Usersphoto (
WebDocument, optional) – Photoinfo (
PaymentRequestedInfo, optional) – Infoshipping (
ShippingOption, optional) – Selected shipping optiontip_amount (
int64-bit, optional) – Tipped amount
- Functions:
This object can be returned by 1 function.
Get payment receipt