Layer 220
constructor
inputSavedStarGiftChat#f101aa7f peer:InputPeer saved_id:long = InputSavedStarGift;

Parameters

Name Type Description
Peer InputPeer The channel.
SavedId long ID of the gift, must be the saved_id of a message Action Star Gift / message Action Star Gift Unique constructor.

Gogram Example

// Creating InputSavedStarGiftChat constructor
obj := &tg.InputSavedStarGiftChat{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    SavedId: int64(0),
}