Skip to main content

ProfileTab

This is a boxed type (a TL class): the Go interface tg.ProfileTabClass, 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.ProfileTabFiles: // profileTabFiles
case *tg.ProfileTabGifs: // profileTabGifs
case *tg.ProfileTabGifts: // profileTabGifts
case *tg.ProfileTabLinks: // profileTabLinks
case *tg.ProfileTabMedia: // profileTabMedia
case *tg.ProfileTabMusic: // profileTabMusic
case *tg.ProfileTabPosts: // profileTabPosts
case *tg.ProfileTabVoice: // profileTabVoice
}

Constructors

ConstructorTL name
ProfileTabFilesprofileTabFiles
ProfileTabGifsprofileTabGifs
ProfileTabGiftsprofileTabGifts
ProfileTabLinksprofileTabLinks
ProfileTabMediaprofileTabMedia
ProfileTabMusicprofileTabMusic
ProfileTabPostsprofileTabPosts
ProfileTabVoiceprofileTabVoice

References