payments.GetSavedStarGift
- class pyrogram.raw.functions.payments.GetSavedStarGift
Fetch info about specific gifts owned by a peer we control.
- Details:
Layer:
223ID:
B455A106
- Parameters:
stargift (List of
InputSavedStarGift) – List of gifts to fetch info about.- Returns:
TL Schema
payments.getSavedStarGift#b455a106
stargift:Vector<InputSavedStarGift>
= payments.SavedStarGifts
Parameter Tree
GetSavedStarGift
└── stargift →
Vector < InputSavedStarGift >│ └── msg_id →
int│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ └── saved_id →
long└── slug →
stringExample
await app.invoke(
GetSavedStarGift(
stargift=[
InputSavedStarGiftUser(msg_id=0)
],
)
)