InputInvoicePremiumAuthCode

class pyrogram.raw.types.InputInvoicePremiumAuthCode

{schema}

Constructor of InputInvoice.

Details:
  • Layer: 223

  • ID: 3E77F614

Parameters:

purpose (InputStorePaymentPurpose)

TL Schema

inputInvoicePremiumAuthCode#3e77f614
purpose:InputStorePaymentPurpose

= InputInvoice

Parameter Tree

InputInvoicePremiumAuthCode
└── purposeInputStorePaymentPurpose
│ ├── restoretrue (optional)
│ └── upgradetrue (optional)
│ ├── user_idInputUser
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── currencystring
│ └── amountlong
│ ├── usersVector < InputUser >
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ │ ├── user_idlong
│ │ │ └── access_hashlong
│ │ └── InputUserFromMessage
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── boost_peerInputPeer (optional)
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── currencystring
│ ├── amountlong
│ └── messageTextWithEntities (optional)
│ └── TextWithEntities
│ ├── textstring
│ └── entitiesVector < MessageEntity >
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
│ ├── 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
│ │ │ ├── user_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerChannel
│ │ │ ├── channel_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerUserFromMessage
│ │ │ ├── peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── msg_idint
│ │ │ └── user_idlong
│ │ └── InputPeerChannelFromMessage
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── channel_idlong
│ ├── countries_iso2Vector < string > (optional)
│ ├── prize_descriptionstring (optional)
│ ├── random_idlong
│ ├── until_dateint
│ ├── currencystring
│ └── amountlong
│ ├── starslong
│ ├── currencystring
│ ├── amountlong
│ └── spend_purpose_peerInputPeer (optional)
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
│ ├── 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
│ │ │ ├── user_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerChannel
│ │ │ ├── channel_idlong
│ │ │ └── access_hashlong
│ │ ├── InputPeerUserFromMessage
│ │ │ ├── peerInputPeer
│ │ │ │ ├── InputPeerEmpty
│ │ │ │ ├── InputPeerSelf
│ │ │ │ ├── InputPeerChat
│ │ │ │ ├── InputPeerUser
│ │ │ │ ├── InputPeerChannel
│ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ └── InputPeerChannelFromMessage
│ │ │ ├── msg_idint
│ │ │ └── user_idlong
│ │ └── InputPeerChannelFromMessage
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── channel_idlong
│ ├── countries_iso2Vector < string > (optional)
│ ├── prize_descriptionstring (optional)
│ ├── random_idlong
│ ├── until_dateint
│ ├── currencystring
│ ├── amountlong
│ └── usersint
├── restoretrue (optional)
├── phone_numberstring
├── phone_code_hashstring
├── currencystring
└── amountlong

Example

InputInvoicePremiumAuthCode(
    purpose=InputStorePaymentPremiumSubscription(),
)