payments.PaymentReceiptStars#

class pyrogram.raw.types.payments.PaymentReceiptStars#

Receipt for payment made using Telegram Stars.

Constructor of PaymentReceipt.

Details:
  • Layer: 187

  • ID: DABBF83A

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

  • bot_id (int 64-bit) – Bot ID

  • title (str) – Title

  • description (str) – Description

  • invoice (Invoice) – Invoice

  • currency (str) – Currency, always XTR.

  • total_amount (int 64-bit) – Amount of Telegram Stars.

  • transaction_id (str) – Transaction ID

  • users (List of User) – Info about users mentioned in the other fields.

  • photo (WebDocument, optional) – Product photo

Functions:

This object can be returned by 1 function.

payments.GetPaymentReceipt

Get payment receipt