payments.GetSavedStarGift

class pyrogram.raw.functions.payments.GetSavedStarGift

Fetch info about specific gifts owned by a peer we control.

Details:
  • Layer: 223

  • ID: B455A106

Parameters:

stargift (List of InputSavedStarGift) – List of gifts to fetch info about.

Returns:

payments.SavedStarGifts

TL Schema

payments.getSavedStarGift#b455a106
stargift:Vector<InputSavedStarGift>

= payments.SavedStarGifts

Parameter Tree

GetSavedStarGift
└── stargiftVector < InputSavedStarGift >
│ └── msg_idint
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ └── saved_idlong
└── slugstring

Example

await app.invoke(
    GetSavedStarGift(
        stargift=[
                InputSavedStarGiftUser(msg_id=0)
            ],
    )
)