telegram api constructor · layer 229 · #95f389b1

payments.savedStarGifts

Represents a list of gifts.

definition

payments.savedStarGifts#95f389b1 flags:# count:int chat_notifications_enabled:flags.1?Bool gifts:Vector<SavedStarGift> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.SavedStarGifts;

parameters

nametypedescription
flags#Flags, see TL conditional fields
countintTotal number of results (can be less than the returned gifts, in which case next_offset will be set).
chat_notifications_enabledflags.1?BoolTernary value: can be not set, set&true, set&false. Can only be set for channels we own: the value indicates whether we enabled gift notifications for this channel.
giftsVector<SavedStarGift>Gifts
next_offsetflags.0?stringOffset to pass to payments.getSavedStarGifts to fetch the next page of results.
chatsVector<Chat>Channels mentioned in gifts
usersVector<User>Users mentioned in gifts

type

payments.SavedStarGifts

history

present in layers 198–229

idlayers
#95f389b1198–229