InputInvoiceStarGiftPrepaidUpgrade
- class pyrogram.raw.types.InputInvoiceStarGiftPrepaidUpgrade
Separately prepay for the upgrade of a gift ».
Constructor of
InputInvoice.- Details:
Layer:
223ID:
9A0B48B8
- Parameters:
peer (
InputPeer) – The peer that owns the gift.hash (
str) – The upgrade hash from messageActionStarGift.prepaid_upgrade_hash or savedStarGift.prepaid_upgrade_hash.
TL Schema
inputInvoiceStarGiftPrepaidUpgrade#9a0b48b8
peer:InputPeer
hash:string
= InputInvoice
Parameter Tree
InputInvoiceStarGiftPrepaidUpgrade
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── hash →
stringExample
InputInvoiceStarGiftPrepaidUpgrade(
peer=await app.resolve_peer(chat_id),
hash="text",
)