PaymentForm¶
- class pyrogram.types.PaymentForm¶
Contains information about an invoice payment form.
- Parameters:
id (
int) – Form id.type (
PaymentFormType) – Type of the payment form.title (
str, optional) – Form title.description (
str, optional) – Form description.photo (
Photo, optional) – Product photo.seller_bot_user_id (
int, optional) – User identifier of the seller bot.seller_bot (
User, optional) – Information about the seller bot.payment_provider_user_id (
int, optional) – User identifier of the payment provider bot.payment_provider (
User, optional) – Information about the payment provider.additional_payment_options (List of
PaymentOption, optional) – The list of additional payment options.saved_credentials (List of
SavedCredentials, optional) – The list of saved payment credentials.invoice (
Invoice, optional) – Full information about the invoice.url (
str, optional) – Payment form URL.can_save_credentials (
bool, optional) – True, if the user can choose to save credentials.need_password (
bool, optional) – True, if the user will be able to save credentials, if sets up a 2-step verification password.native_provider (
str, optional) – Payment provider name.raw (
PaymentForm, optional) – The raw object, as received from the Telegram API.