payments.SendPaymentForm

class pyrogram.raw.functions.payments.SendPaymentForm

Send compiled payment form

Details:
  • Layer: 223

  • ID: 2D03522F

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

  • invoice (InputInvoice) – Invoice

  • credentials (InputPaymentCredentials) – Payment credentials

  • requested_info_id (str, optional) – ID of saved and validated order info

  • shipping_option_id (str, optional) – Chosen shipping option ID

  • tip_amount (int 64-bit, optional) – Tip, in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).

Returns:

payments.PaymentResult

TL Schema

payments.sendPaymentForm#2d03522f
flags:#
form_id:long
invoice:InputInvoice
requested_info_id:flags.0?string
shipping_option_id:flags.1?string
credentials:InputPaymentCredentials
tip_amount:flags.2?long

= payments.PaymentResult

Parameter Tree

SendPaymentForm
├── form_idlong
├── invoiceInputInvoice
│ ├── InputInvoiceMessage
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ └── msg_idint
│ ├── InputInvoiceSlug
│ │ └── slugstring
│ │ ├── purposeInputStorePaymentPurpose
│ │ │ │ ├── restoretrue (optional)
│ │ │ │ └── upgradetrue (optional)
│ │ │ ├── InputStorePaymentGiftPremium
│ │ │ │ ├── user_idInputUser
│ │ │ │ │ ├── InputUserEmpty
│ │ │ │ │ ├── InputUserSelf
│ │ │ │ │ ├── InputUser
│ │ │ │ │ └── InputUserFromMessage
│ │ │ │ ├── currencystring
│ │ │ │ └── amountlong
│ │ │ ├── InputStorePaymentPremiumGiftCode
│ │ │ │ ├── usersVector < InputUser >
│ │ │ │ │ ├── InputUserEmpty
│ │ │ │ │ ├── InputUserSelf
│ │ │ │ │ ├── InputUser
│ │ │ │ │ └── InputUserFromMessage
│ │ │ │ ├── boost_peerInputPeer (optional)
│ │ │ │ │ ├── InputPeerEmpty
│ │ │ │ │ ├── InputPeerSelf
│ │ │ │ │ ├── InputPeerChat
│ │ │ │ │ ├── InputPeerUser
│ │ │ │ │ ├── InputPeerChannel
│ │ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ │ └── InputPeerChannelFromMessage
│ │ │ │ ├── currencystring
│ │ │ │ ├── amountlong
│ │ │ │ └── messageTextWithEntities (optional)
│ │ │ │ └── TextWithEntities
│ │ │ ├── InputStorePaymentPremiumGiveaway
│ │ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ │ ├── winners_are_visibletrue (optional)
│ │ │ │ ├── boost_peerInputPeer
│ │ │ │ │ ├── InputPeerEmpty
│ │ │ │ │ ├── InputPeerSelf
│ │ │ │ │ ├── InputPeerChat
│ │ │ │ │ ├── InputPeerUser
│ │ │ │ │ ├── InputPeerChannel
│ │ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ │ └── InputPeerChannelFromMessage
│ │ │ │ ├── additional_peersVector < InputPeer > (optional)
│ │ │ │ │ ├── InputPeerEmpty
│ │ │ │ │ ├── InputPeerSelf
│ │ │ │ │ ├── InputPeerChat
│ │ │ │ │ ├── InputPeerUser
│ │ │ │ │ ├── InputPeerChannel
│ │ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ │ └── InputPeerChannelFromMessage
│ │ │ │ ├── countries_iso2Vector < string > (optional)
│ │ │ │ ├── prize_descriptionstring (optional)
│ │ │ │ ├── random_idlong
│ │ │ │ ├── until_dateint
│ │ │ │ ├── currencystring
│ │ │ │ └── amountlong
│ │ │ ├── InputStorePaymentStarsTopup
│ │ │ │ ├── starslong
│ │ │ │ ├── currencystring
│ │ │ │ ├── amountlong
│ │ │ │ └── spend_purpose_peerInputPeer (optional)
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── InputStorePaymentStarsGift
│ │ │ │ ├── user_idInputUser
│ │ │ │ │ ├── InputUserEmpty
│ │ │ │ │ ├── InputUserSelf
│ │ │ │ │ ├── InputUser
│ │ │ │ │ └── InputUserFromMessage
│ │ │ │ ├── starslong
│ │ │ │ ├── currencystring
│ │ │ │ └── amountlong
│ │ │ ├── InputStorePaymentStarsGiveaway
│ │ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ │ ├── winners_are_visibletrue (optional)
│ │ │ │ ├── starslong
│ │ │ │ ├── boost_peerInputPeer
│ │ │ │ │ ├── InputPeerEmpty
│ │ │ │ │ ├── InputPeerSelf
│ │ │ │ │ ├── InputPeerChat
│ │ │ │ │ ├── InputPeerUser
│ │ │ │ │ ├── InputPeerChannel
│ │ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ │ └── InputPeerChannelFromMessage
│ │ │ │ ├── additional_peersVector < InputPeer > (optional)
│ │ │ │ │ ├── InputPeerEmpty
│ │ │ │ │ ├── InputPeerSelf
│ │ │ │ │ ├── InputPeerChat
│ │ │ │ │ ├── InputPeerUser
│ │ │ │ │ ├── InputPeerChannel
│ │ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ │ └── InputPeerChannelFromMessage
│ │ │ │ ├── countries_iso2Vector < string > (optional)
│ │ │ │ ├── prize_descriptionstring (optional)
│ │ │ │ ├── random_idlong
│ │ │ │ ├── until_dateint
│ │ │ │ ├── currencystring
│ │ │ │ ├── amountlong
│ │ │ │ └── usersint
│ │ │ └── InputStorePaymentAuthCode
│ │ │ ├── restoretrue (optional)
│ │ │ ├── phone_numberstring
│ │ │ ├── phone_code_hashstring
│ │ │ ├── currencystring
│ │ │ └── amountlong
│ │ └── optionPremiumGiftCodeOption
│ │ └── PremiumGiftCodeOption
│ │ ├── usersint
│ │ ├── monthsint
│ │ ├── store_productstring (optional)
│ │ ├── store_quantityint (optional)
│ │ ├── currencystring
│ │ └── amountlong
│ ├── InputInvoiceStars
│ │ └── purposeInputStorePaymentPurpose
│ │ │ ├── restoretrue (optional)
│ │ │ └── upgradetrue (optional)
│ │ │ ├── user_idInputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── currencystring
│ │ │ └── amountlong
│ │ │ ├── usersVector < InputUser >
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── boost_peerInputPeer (optional)
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── currencystring
│ │ │ ├── amountlong
│ │ │ └── messageTextWithEntities (optional)
│ │ │ └── TextWithEntities
│ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ ├── winners_are_visibletrue (optional)
│ │ │ ├── boost_peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── additional_peersVector < InputPeer > (optional)
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── countries_iso2Vector < string > (optional)
│ │ │ ├── prize_descriptionstring (optional)
│ │ │ ├── random_idlong
│ │ │ ├── until_dateint
│ │ │ ├── currencystring
│ │ │ └── amountlong
│ │ ├── InputStorePaymentStarsTopup
│ │ │ ├── starslong
│ │ │ ├── currencystring
│ │ │ ├── amountlong
│ │ │ └── spend_purpose_peerInputPeer (optional)
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── InputStorePaymentStarsGift
│ │ │ ├── user_idInputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── starslong
│ │ │ ├── currencystring
│ │ │ └── amountlong
│ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ ├── winners_are_visibletrue (optional)
│ │ │ ├── starslong
│ │ │ ├── boost_peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── additional_peersVector < InputPeer > (optional)
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── countries_iso2Vector < string > (optional)
│ │ │ ├── prize_descriptionstring (optional)
│ │ │ ├── random_idlong
│ │ │ ├── until_dateint
│ │ │ ├── currencystring
│ │ │ ├── amountlong
│ │ │ └── usersint
│ │ └── InputStorePaymentAuthCode
│ │ ├── restoretrue (optional)
│ │ ├── phone_numberstring
│ │ ├── phone_code_hashstring
│ │ ├── currencystring
│ │ └── amountlong
│ │ └── hashstring
│ ├── InputInvoiceStarGift
│ │ ├── hide_nametrue (optional)
│ │ ├── include_upgradetrue (optional)
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── gift_idlong
│ │ └── messageTextWithEntities (optional)
│ │ └── TextWithEntities
│ │ ├── textstring
│ │ └── entitiesVector < MessageEntity >
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ └── MessageEntityFormattedDate
│ │ ├── keep_original_detailstrue (optional)
│ │ └── stargiftInputSavedStarGift
│ │ ├── InputSavedStarGiftUser
│ │ │ └── msg_idint
│ │ ├── InputSavedStarGiftChat
│ │ │ ├── peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ └── saved_idlong
│ │ └── InputSavedStarGiftSlug
│ │ └── slugstring
│ │ ├── stargiftInputSavedStarGift
│ │ │ ├── InputSavedStarGiftUser
│ │ │ │ └── msg_idint
│ │ │ ├── InputSavedStarGiftChat
│ │ │ │ ├── peerInputPeer
│ │ │ │ │ ├── InputPeerEmpty
│ │ │ │ │ ├── InputPeerSelf
│ │ │ │ │ ├── InputPeerChat
│ │ │ │ │ ├── InputPeerUser
│ │ │ │ │ ├── InputPeerChannel
│ │ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ │ └── InputPeerChannelFromMessage
│ │ │ │ └── saved_idlong
│ │ │ └── InputSavedStarGiftSlug
│ │ │ └── slugstring
│ │ └── to_idInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ │ ├── user_idInputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ ├── monthsint
│ │ └── messageTextWithEntities (optional)
│ │ └── TextWithEntities
│ │ ├── textstring
│ │ └── entitiesVector < MessageEntity >
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ └── MessageEntityFormattedDate
│ │ ├── botInputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ └── starslong
│ │ ├── tontrue (optional)
│ │ ├── slugstring
│ │ └── to_idInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ └── hashstring
│ │ └── purposeInputStorePaymentPurpose
│ │ │ ├── restoretrue (optional)
│ │ │ └── upgradetrue (optional)
│ │ │ ├── user_idInputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── currencystring
│ │ │ └── amountlong
│ │ │ ├── usersVector < InputUser >
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── boost_peerInputPeer (optional)
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── currencystring
│ │ │ ├── amountlong
│ │ │ └── messageTextWithEntities (optional)
│ │ │ └── TextWithEntities
│ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ ├── winners_are_visibletrue (optional)
│ │ │ ├── boost_peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── additional_peersVector < InputPeer > (optional)
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── countries_iso2Vector < string > (optional)
│ │ │ ├── prize_descriptionstring (optional)
│ │ │ ├── random_idlong
│ │ │ ├── until_dateint
│ │ │ ├── currencystring
│ │ │ └── amountlong
│ │ ├── InputStorePaymentStarsTopup
│ │ │ ├── starslong
│ │ │ ├── currencystring
│ │ │ ├── amountlong
│ │ │ └── spend_purpose_peerInputPeer (optional)
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── InputStorePaymentStarsGift
│ │ │ ├── user_idInputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── starslong
│ │ │ ├── currencystring
│ │ │ └── amountlong
│ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ ├── winners_are_visibletrue (optional)
│ │ │ ├── starslong
│ │ │ ├── boost_peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── additional_peersVector < InputPeer > (optional)
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── countries_iso2Vector < string > (optional)
│ │ │ ├── prize_descriptionstring (optional)
│ │ │ ├── random_idlong
│ │ │ ├── until_dateint
│ │ │ ├── currencystring
│ │ │ ├── amountlong
│ │ │ └── usersint
│ │ └── InputStorePaymentAuthCode
│ │ ├── restoretrue (optional)
│ │ ├── phone_numberstring
│ │ ├── phone_code_hashstring
│ │ ├── currencystring
│ │ └── amountlong
│ │ └── stargiftInputSavedStarGift
│ │ ├── InputSavedStarGiftUser
│ │ │ └── msg_idint
│ │ ├── InputSavedStarGiftChat
│ │ │ ├── peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ └── saved_idlong
│ │ └── InputSavedStarGiftSlug
│ │ └── slugstring
│ ├── hide_nametrue (optional)
│ ├── update_bidtrue (optional)
│ ├── peerInputPeer (optional)
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── gift_idlong
│ ├── bid_amountlong
│ └── messageTextWithEntities (optional)
│ └── TextWithEntities
│ ├── textstring
│ └── entitiesVector < MessageEntity >
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
├── requested_info_idstring (optional)
├── shipping_option_idstring (optional)
├── credentialsInputPaymentCredentials
│ │ ├── idstring
│ │ └── tmp_passwordbytes
│ │ ├── savetrue (optional)
│ │ └── dataDataJSON
│ │ └── DataJSON
│ │ └── datastring
│ │ └── payment_dataDataJSON
│ │ └── DataJSON
│ │ └── datastring
│ └── payment_tokenDataJSON
│ └── DataJSON
│ └── datastring
└── tip_amountlong (optional)

Example

await app.invoke(
    SendPaymentForm(
        form_id=0,
        invoice=InputInvoiceMessage(
            peer=await app.resolve_peer(chat_id),
            msg_id=0
        ),
        requested_info_id="text",
        shipping_option_id="text",
        credentials=InputPaymentCredentialsSaved(
            id="text",
            tmp_password=b"data"
        ),
        tip_amount=0,
    )
)