| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Telegram.Bot.API.InlineMode.InlineQueryResult
Synopsis
- newtype InlineQueryResultId = InlineQueryResultId Text
- data InlineQueryResultGeneric = InlineQueryResultGeneric {- inlineQueryResultId :: InlineQueryResultId
- inlineQueryResultTitle :: Maybe Text
- inlineQueryResultCaption :: Maybe Text
- inlineQueryResultParseMode :: Maybe Text
- inlineQueryResultCaptionEntities :: Maybe [MessageEntity]
- inlineQueryResultShowCaptionAboveMedia :: Maybe Bool
- inlineQueryResultReplyMarkup :: Maybe InlineKeyboardMarkup
- inlineQueryResultInputMessageContent :: Maybe InputMessageContent
- inlineQueryResultDescription :: Maybe Text
 
- data InlineQueryResultGenericThumbnail = InlineQueryResultGenericThumbnail {}
- data InlineQueryResult- = InlineQueryResultArticle { }
- | InlineQueryResultPhoto { }
- | InlineQueryResultGif { }
- | InlineQueryResultMpeg4Gif { }
- | InlineQueryResultVideo { }
- | InlineQueryResultAudio { }
- | InlineQueryResultVoice { }
- | InlineQueryResultDocument { }
- | InlineQueryResultLocation { - inlineQueryResultLocationGeneric :: InlineQueryResultGenericThumbnail
- inlineQueryResultLocationLatitude :: Float
- inlineQueryResultLocationLongitude :: Float
- inlineQueryResultLocationHorizontalAccuracy :: Maybe Float
- inlineQueryResultLocationLivePeriod :: Maybe Seconds
- inlineQueryResultLocationHeading :: Maybe Int
- inlineQueryResultLocationProximityAlertRadius :: Maybe Int
 
- | InlineQueryResultVenue { - inlineQueryResultVenueGeneric :: InlineQueryResultGenericThumbnail
- inlineQueryResultVenueLatitude :: Float
- inlineQueryResultVenueLongitude :: Float
- inlineQueryResultVenueAddress :: Text
- inlineQueryResultVenueFoursquareId :: Maybe Text
- inlineQueryResultVenueFoursquareType :: Maybe Text
- inlineQueryResultVenueGooglePlaceId :: Maybe Text
- inlineQueryResultVenueGooglePlaceType :: Maybe Text
 
- | InlineQueryResultContact { }
- | InlineQueryResultGame { }
- | InlineQueryResultCachedPhoto { }
- | InlineQueryResultCachedGif { }
- | InlineQueryResultCachedMpeg4Gif { }
- | InlineQueryResultCachedSticker { }
- | InlineQueryResultCachedDocument { }
- | InlineQueryResultCachedVideo { }
- | InlineQueryResultCachedVoice { }
- | InlineQueryResultCachedAudio { }
 
- defInlineQueryResultArticle :: InlineQueryResultGenericThumbnail -> InlineQueryResult
- defInlineQueryResultPhotoUrl :: InlineQueryResultGenericThumbnail -> Text -> InlineQueryResult
- defInlineQueryResultGif :: InlineQueryResultGenericThumbnail -> Text -> InlineQueryResult
- defInlineQueryResultMpeg4Gif :: InlineQueryResultGenericThumbnail -> Text -> InlineQueryResult
- defInlineQueryResultVideo :: InlineQueryResultGenericThumbnail -> Text -> Text -> InlineQueryResult
- defInlineQueryResultAudio :: InlineQueryResultGeneric -> Text -> InlineQueryResult
- defInlineQueryResultVoice :: InlineQueryResultGeneric -> Text -> InlineQueryResult
- defInlineQueryResultDocument :: InlineQueryResultGenericThumbnail -> Text -> Text -> InlineQueryResult
- defInlineQueryResultLocation :: InlineQueryResultGenericThumbnail -> Float -> Float -> InlineQueryResult
- defInlineQueryResultVenue :: InlineQueryResultGenericThumbnail -> Float -> Float -> Text -> InlineQueryResult
- defInlineQueryResultContact :: InlineQueryResultGenericThumbnail -> Text -> Text -> InlineQueryResult
- data InlineQueryResultsButton = InlineQueryResultsButton {}
- defInlineQueryResultGenericThumbnail :: InlineQueryResultGeneric -> InlineQueryResultGenericThumbnail
- defInlineQueryResultGeneric :: InlineQueryResultId -> InlineQueryResultGeneric
Documentation
newtype InlineQueryResultId Source #
Constructors
| InlineQueryResultId Text | 
Instances
data InlineQueryResultGeneric Source #
Constructors
| InlineQueryResultGeneric | |
| Fields 
 | |
Instances
data InlineQueryResultGenericThumbnail Source #
Constructors
| InlineQueryResultGenericThumbnail | |
| Fields 
 | |
Instances
data InlineQueryResult Source #
This object represents one result of an inline query
Constructors
Instances
defInlineQueryResultPhotoUrl :: InlineQueryResultGenericThumbnail -> Text -> InlineQueryResult Source #
defInlineQueryResultMpeg4Gif :: InlineQueryResultGenericThumbnail -> Text -> InlineQueryResult Source #
defInlineQueryResultVideo :: InlineQueryResultGenericThumbnail -> Text -> Text -> InlineQueryResult Source #
defInlineQueryResultDocument :: InlineQueryResultGenericThumbnail -> Text -> Text -> InlineQueryResult Source #
defInlineQueryResultLocation :: InlineQueryResultGenericThumbnail -> Float -> Float -> InlineQueryResult Source #
defInlineQueryResultVenue :: InlineQueryResultGenericThumbnail -> Float -> Float -> Text -> InlineQueryResult Source #
defInlineQueryResultContact :: InlineQueryResultGenericThumbnail -> Text -> Text -> InlineQueryResult Source #
data InlineQueryResultsButton Source #
This object represents a button to be shown above inline query results. You must use exactly one of the optional fields.
Constructors
| InlineQueryResultsButton | |
| Fields 
 | |