Skip to main content

payments.savedStarGifts

Represents a list of gifts.

type tg.PaymentsSavedStarGifts struct { /* ... */ }

Fields

NameTypeRequiredDescription
CountintyesTotal number of results (can be less than the returned gifts, in which case next_offset will be set).
ChatNotificationsEnabledboolTernary 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.
Gifts[]SavedStarGiftyesGifts
NextOffsetstringOffset to pass to payments.getSavedStarGifts to fetch the next page of results.
Chats[]ChatClassyesChannels mentioned in gifts
Users[]UserClassyesUsers mentioned in gifts

Returned by

References