PaymentForm

class pyrogram.types.PaymentForm

This object contains basic information about an payment form.

Parameters:
  • id (int) – Form id.

  • bot (str) – Bot.

  • title (str) – Form title.

  • description (str) – Form description.

  • invoice (str) – Invoice.

  • provider (str, optional) – Payment provider.

  • url (str, optional) – Payment form URL.

  • can_save_credentials (str, optional) – Whether the user can choose to save credentials.

  • is_password_missing (str, optional) – Indicates that the user can save payment credentials, but only after setting up a 2FA password (currently the account doesn’t have a 2FA password).

  • native_provider (str, optional) – Payment provider name.

  • raw (PaymentForm, optional) – The raw object, as received from the Telegram API.