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: 227

  • ID: EDBE6CCB

Parameters:
Returns:

Updates

TL Schema

payments.updateStarGiftPrice#edbe6ccb
stargift:InputSavedStarGift
resell_amount:StarsAmount

= Updates

Parameter Tree

UpdateStarGiftPrice
├── stargift → InputSavedStarGift
│ │ └── msg_id → int
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ └── saved_id → long
│ └── slug → string
└── resell_amount → StarsAmount
├── StarsAmount
│ ├── amount → long
│ └── nanos → int
└── StarsTonAmount
└── amount → long

Example

await app.invoke(
    UpdateStarGiftPrice(
        stargift=InputSavedStarGiftUser(msg_id=0),
        resell_amount=StarsAmount(
            amount=0,
            nanos=0
        ),
    )
)