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
| Constructor | TL name |
|---|---|
WebPageAttributeAiComposeTone | webPageAttributeAiComposeTone |
WebPageAttributeStarGiftAuction | webPageAttributeStarGiftAuction |
WebPageAttributeStarGiftCollection | webPageAttributeStarGiftCollection |
WebPageAttributeStickerSet | webPageAttributeStickerSet |
WebPageAttributeStory | webPageAttributeStory |
WebPageAttributeTheme | webPageAttributeTheme |
WebPageAttributeUniqueStarGift | webPageAttributeUniqueStarGift |