payments.UpdateStarGiftPrice
- class pyrogram.raw.functions.payments.UpdateStarGiftPrice
A collectible gift we own » can be put up for sale on the gift marketplace » with this method, see here » for more info.
- Details:
Layer:
223ID:
EDBE6CCB
- Parameters:
stargift (
InputSavedStarGift) – The gift to resell.resell_amount (
StarsAmount) – Resale price of the gift.
- Returns:
TL Schema
payments.updateStarGiftPrice#edbe6ccb
stargift:InputSavedStarGift
resell_amount:StarsAmount
= Updates
Parameter Tree
UpdateStarGiftPrice
├── stargift →
InputSavedStarGift│ ├──
InputSavedStarGiftUser│ │ └── msg_id →
int│ ├──
InputSavedStarGiftChat│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ └── saved_id →
long│ └──
InputSavedStarGiftSlug│ └── slug →
string└── resell_amount →
StarsAmountExample
await app.invoke(
UpdateStarGiftPrice(
stargift=InputSavedStarGiftUser(msg_id=0),
resell_amount=StarsAmount(
amount=0,
nanos=0
),
)
)