Link Search Menu Expand Document

Constructor: inputSavedStarGiftChat

Back to constructors index

A gift received by a channel we own.

Attributes:

NameTypeRequiredDescription
peerUsername, chat ID, Update, Message or InputPeerOptionalThe channel.
saved_idlongYesID of the gift, must be the saved_id of a messageActionStarGift/messageActionStarGiftUnique constructor.

Type: InputSavedStarGift

Example:

$inputSavedStarGiftChat = ['_' => 'inputSavedStarGiftChat', 'peer' => InputPeer, 'saved_id' => long];