payments.PaymentFormStars#

class pyrogram.raw.types.payments.PaymentFormStars#

Represents a payment form, for payments to be using Telegram Stars, see here » for more info.

Constructor of PaymentForm.

Details:
  • Layer: 187

  • ID: 7BF6B15C

Parameters:
  • form_id (int 64-bit) – Form ID.

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

  • title (str) – Form title

  • description (str) – Description

  • invoice (Invoice) – Invoice

  • 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.GetPaymentForm

Get a payment form