Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data LinkPreviewType
- = LinkPreviewTypeAlbum { }
- | LinkPreviewTypeAnimation { }
- | LinkPreviewTypeApp { }
- | LinkPreviewTypeArticle { }
- | LinkPreviewTypeAudio { }
- | LinkPreviewTypeBackground { }
- | LinkPreviewTypeChannelBoost { }
- | LinkPreviewTypeChat { }
- | LinkPreviewTypeDocument { }
- | LinkPreviewTypeEmbeddedAnimationPlayer { }
- | LinkPreviewTypeEmbeddedAudioPlayer { }
- | LinkPreviewTypeEmbeddedVideoPlayer { }
- | LinkPreviewTypeExternalAudio { }
- | LinkPreviewTypeExternalVideo { }
- | LinkPreviewTypeInvoice
- | LinkPreviewTypeMessage
- | LinkPreviewTypePhoto { }
- | LinkPreviewTypePremiumGiftCode
- | LinkPreviewTypeShareableChatFolder
- | LinkPreviewTypeSticker { }
- | LinkPreviewTypeStickerSet { }
- | LinkPreviewTypeStory { }
- | LinkPreviewTypeSupergroupBoost { }
- | LinkPreviewTypeTheme { }
- | LinkPreviewTypeUnsupported
- | LinkPreviewTypeUser { }
- | LinkPreviewTypeVideo { }
- | LinkPreviewTypeVideoChat { }
- | LinkPreviewTypeVideoNote { }
- | LinkPreviewTypeVoiceNote { }
- | LinkPreviewTypeWebApp { }
Documentation
data LinkPreviewType Source #
Describes type of link preview
LinkPreviewTypeAlbum | The link is a link to a media album consisting of photos and videos |
LinkPreviewTypeAnimation | The link is a link to an animation |
LinkPreviewTypeApp | The link is a link to an app at App Store or Google Play |
LinkPreviewTypeArticle | The link is a link to a web site |
LinkPreviewTypeAudio | The link is a link to an audio |
LinkPreviewTypeBackground | The link is a link to a background. Link preview title and description are available only for filled backgrounds |
| |
LinkPreviewTypeChannelBoost | The link is a link to boost a channel chat |
LinkPreviewTypeChat | The link is a link to a chat |
| |
LinkPreviewTypeDocument | The link is a link to a general file |
LinkPreviewTypeEmbeddedAnimationPlayer | The link is a link to an animation player |
LinkPreviewTypeEmbeddedAudioPlayer | The link is a link to an audio player |
LinkPreviewTypeEmbeddedVideoPlayer | The link is a link to a video player |
LinkPreviewTypeExternalAudio | The link is a link to an audio file |
LinkPreviewTypeExternalVideo | The link is a link to a video file |
LinkPreviewTypeInvoice | The link is a link to an invoice |
LinkPreviewTypeMessage | The link is a link to a text or a poll Telegram message |
LinkPreviewTypePhoto | The link is a link to a photo |
LinkPreviewTypePremiumGiftCode | The link is a link to a Telegram Premium gift code |
LinkPreviewTypeShareableChatFolder | The link is a link to a shareable chat folder |
LinkPreviewTypeSticker | The link is a link to a sticker |
LinkPreviewTypeStickerSet | The link is a link to a sticker set |
LinkPreviewTypeStory | The link is a link to a story. Link preview description is unavailable |
LinkPreviewTypeSupergroupBoost | The link is a link to boost a supergroup chat |
LinkPreviewTypeTheme | The link is a link to a cloud theme. TDLib has no theme support yet |
LinkPreviewTypeUnsupported | The link preview type is unsupported yet |
LinkPreviewTypeUser | The link is a link to a user |
LinkPreviewTypeVideo | The link is a link to a video |
LinkPreviewTypeVideoChat | The link is a link to a video chat |
LinkPreviewTypeVideoNote | The link is a link to a video note message |
| |
LinkPreviewTypeVoiceNote | The link is a link to a voice note message |
| |
LinkPreviewTypeWebApp | The link is a link to a Web App |
Instances
FromJSON LinkPreviewType Source # | |
Defined in TD.Data.LinkPreviewType parseJSON :: Value -> Parser LinkPreviewType # parseJSONList :: Value -> Parser [LinkPreviewType] # | |
Show LinkPreviewType Source # | |
Defined in TD.Data.LinkPreviewType showsPrec :: Int -> LinkPreviewType -> ShowS # show :: LinkPreviewType -> String # showList :: [LinkPreviewType] -> ShowS # | |
Eq LinkPreviewType Source # | |
Defined in TD.Data.LinkPreviewType (==) :: LinkPreviewType -> LinkPreviewType -> Bool # (/=) :: LinkPreviewType -> LinkPreviewType -> Bool # | |
ShortShow LinkPreviewType Source # | |
Defined in TD.Data.LinkPreviewType shortShow :: LinkPreviewType -> String Source # |