Skip to main content

InputSavedStarGift

This is a boxed type (a TL class): the Go interface tg.InputSavedStarGiftClass, implemented by the constructors below. A value of this type is one of them — switch on the concrete type to handle it.

switch v := value.(type) {
case *tg.InputSavedStarGiftChat: // inputSavedStarGiftChat
case *tg.InputSavedStarGiftSlug: // inputSavedStarGiftSlug
case *tg.InputSavedStarGiftUser: // inputSavedStarGiftUser
}

Constructors

ConstructorTL name
InputSavedStarGiftChatinputSavedStarGiftChat
InputSavedStarGiftSluginputSavedStarGiftSlug
InputSavedStarGiftUserinputSavedStarGiftUser

References