PaymentForm¶
- class pyrogram.types.PaymentForm¶
This object contains basic information about an payment form.
- Parameters:¶
id (``int``) – Form id.
bot (``types.User``) – Bot.
title (``str``) – Form title.
description (``str``) – Form description.
invoice (``types.Invoice``) – Invoice.
provider (``types.User``, *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 (:obj:`~raw.base.payments.PaymentForm`, *optional*) – The raw object, as received from the Telegram API.