Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data InputInlineQueryResult
- = InputInlineQueryResultAnimation {
- _id :: Maybe Text
- title :: Maybe Text
- thumbnail_url :: Maybe Text
- thumbnail_mime_type :: Maybe Text
- video_url :: Maybe Text
- video_mime_type :: Maybe Text
- video_duration :: Maybe Int
- video_width :: Maybe Int
- video_height :: Maybe Int
- reply_markup :: Maybe ReplyMarkup
- input_message_content :: Maybe InputMessageContent
- | InputInlineQueryResultArticle { }
- | InputInlineQueryResultAudio { }
- | InputInlineQueryResultContact { }
- | InputInlineQueryResultDocument { }
- | InputInlineQueryResultGame { }
- | InputInlineQueryResultLocation { }
- | InputInlineQueryResultPhoto { }
- | InputInlineQueryResultSticker { }
- | InputInlineQueryResultVenue { }
- | InputInlineQueryResultVideo { }
- | InputInlineQueryResultVoiceNote { }
- = InputInlineQueryResultAnimation {
Documentation
data InputInlineQueryResult Source #
Represents a single result of an inline query; for bots only
InputInlineQueryResultAnimation | Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video |
| |
InputInlineQueryResultArticle | Represents a link to an article or web page |
| |
InputInlineQueryResultAudio | Represents a link to an MP3 audio file |
| |
InputInlineQueryResultContact | Represents a user contact |
| |
InputInlineQueryResultDocument | Represents a link to a file |
| |
InputInlineQueryResultGame | Represents a game |
| |
InputInlineQueryResultLocation | Represents a point on the map |
| |
InputInlineQueryResultPhoto | Represents link to a JPEG image |
| |
InputInlineQueryResultSticker | Represents a link to a WEBP, TGS, or WEBM sticker |
| |
InputInlineQueryResultVenue | Represents information about a venue |
| |
InputInlineQueryResultVideo | Represents a link to a page containing an embedded video player or a video file |
| |
InputInlineQueryResultVoiceNote | Represents a link to an opus-encoded audio file within an OGG container, single channel audio |
|
Instances
FromJSON InputInlineQueryResult Source # | |
Defined in TD.Data.InputInlineQueryResult | |
ToJSON InputInlineQueryResult Source # | |
Defined in TD.Data.InputInlineQueryResult toJSON :: InputInlineQueryResult -> Value # toEncoding :: InputInlineQueryResult -> Encoding # toJSONList :: [InputInlineQueryResult] -> Value # | |
Show InputInlineQueryResult Source # | |
Defined in TD.Data.InputInlineQueryResult showsPrec :: Int -> InputInlineQueryResult -> ShowS # show :: InputInlineQueryResult -> String # showList :: [InputInlineQueryResult] -> ShowS # | |
Eq InputInlineQueryResult Source # | |
Defined in TD.Data.InputInlineQueryResult | |
ShortShow InputInlineQueryResult Source # | |
Defined in TD.Data.InputInlineQueryResult |