Skip to main content

WebPageAttribute

This is a boxed type (a TL class): the Go interface tg.WebPageAttributeClass, 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.WebPageAttributeAiComposeTone: // webPageAttributeAiComposeTone
case *tg.WebPageAttributeStarGiftAuction: // webPageAttributeStarGiftAuction
case *tg.WebPageAttributeStarGiftCollection: // webPageAttributeStarGiftCollection
case *tg.WebPageAttributeStickerSet: // webPageAttributeStickerSet
case *tg.WebPageAttributeStory: // webPageAttributeStory
case *tg.WebPageAttributeTheme: // webPageAttributeTheme
case *tg.WebPageAttributeUniqueStarGift: // webPageAttributeUniqueStarGift
}

Constructors

ConstructorTL name
WebPageAttributeAiComposeTonewebPageAttributeAiComposeTone
WebPageAttributeStarGiftAuctionwebPageAttributeStarGiftAuction
WebPageAttributeStarGiftCollectionwebPageAttributeStarGiftCollection
WebPageAttributeStickerSetwebPageAttributeStickerSet
WebPageAttributeStorywebPageAttributeStory
WebPageAttributeThemewebPageAttributeTheme
WebPageAttributeUniqueStarGiftwebPageAttributeUniqueStarGift

References