Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data InlineQueryResult
- = InlineQueryResultArticle { }
- | InlineQueryResultContact { }
- | InlineQueryResultLocation { }
- | InlineQueryResultVenue { }
- | InlineQueryResultGame { }
- | InlineQueryResultAnimation { }
- | InlineQueryResultAudio { }
- | InlineQueryResultDocument { }
- | InlineQueryResultPhoto { }
- | InlineQueryResultSticker { }
- | InlineQueryResultVideo { }
- | InlineQueryResultVoiceNote { }
Documentation
data InlineQueryResult Source #
Represents a single result of an inline query
InlineQueryResultArticle | Represents a link to an article or web page |
InlineQueryResultContact | Represents a user contact |
InlineQueryResultLocation | Represents a point on the map |
InlineQueryResultVenue | Represents information about a venue |
InlineQueryResultGame | Represents information about a game |
InlineQueryResultAnimation | Represents an animation file |
InlineQueryResultAudio | Represents an audio file |
InlineQueryResultDocument | Represents a document |
InlineQueryResultPhoto | Represents a photo |
InlineQueryResultSticker | Represents a sticker |
InlineQueryResultVideo | Represents a video |
InlineQueryResultVoiceNote | Represents a voice note |
Instances
FromJSON InlineQueryResult Source # | |
Defined in TD.Data.InlineQueryResult parseJSON :: Value -> Parser InlineQueryResult # parseJSONList :: Value -> Parser [InlineQueryResult] # | |
Show InlineQueryResult Source # | |
Defined in TD.Data.InlineQueryResult showsPrec :: Int -> InlineQueryResult -> ShowS # show :: InlineQueryResult -> String # showList :: [InlineQueryResult] -> ShowS # | |
Eq InlineQueryResult Source # | |
Defined in TD.Data.InlineQueryResult (==) :: InlineQueryResult -> InlineQueryResult -> Bool # (/=) :: InlineQueryResult -> InlineQueryResult -> Bool # | |
ShortShow InlineQueryResult Source # | |
Defined in TD.Data.InlineQueryResult shortShow :: InlineQueryResult -> String Source # |