Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype InlineQueryResultId = InlineQueryResultId Text
- data InlineQueryResultGeneric = InlineQueryResultGeneric {
- inlineQueryResultId :: InlineQueryResultId
- inlineQueryResultTitle :: Maybe Text
- inlineQueryResultCaption :: Maybe Text
- inlineQueryResultParseMode :: Maybe Text
- inlineQueryResultCaptionEntities :: Maybe [MessageEntity]
- 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 #
Instances
data InlineQueryResultGeneric Source #
InlineQueryResultGeneric | |
|
Instances
data InlineQueryResultGenericThumbnail Source #
InlineQueryResultGenericThumbnail | |
|
Instances
data InlineQueryResult Source #
This object represents one result of an inline query
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.
InlineQueryResultsButton | |
|
Instances
FromJSON InlineQueryResultsButton Source # | |
ToJSON InlineQueryResultsButton Source # | |
Generic InlineQueryResultsButton Source # | |
Defined in Telegram.Bot.API.InlineMode.InlineQueryResult type Rep InlineQueryResultsButton :: Type -> Type # | |
type Rep InlineQueryResultsButton Source # | |
Defined in Telegram.Bot.API.InlineMode.InlineQueryResult type Rep InlineQueryResultsButton = D1 ('MetaData "InlineQueryResultsButton" "Telegram.Bot.API.InlineMode.InlineQueryResult" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" 'False) (C1 ('MetaCons "InlineQueryResultsButton" 'PrefixI 'True) (S1 ('MetaSel ('Just "inlineQueryResultsButtonText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "inlineQueryResultsButtonWebApp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WebAppInfo)) :*: S1 ('MetaSel ('Just "inlineQueryResultsButtonStartParameter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) |