Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data InlineQuery = InlineQuery {}
- newtype InlineQueryId = InlineQueryId Text
- type AnswerInlineQuery = "answerInlineQuery" :> (ReqBody '[JSON] AnswerInlineQueryRequest :> Post '[JSON] (Response Bool))
- answerInlineQuery :: AnswerInlineQueryRequest -> ClientM (Response Bool)
- data AnswerInlineQueryRequest = AnswerInlineQueryRequest {
- answerInlineQueryRequestInlineQueryId :: InlineQueryId
- answerInlineQueryRequestResults :: [InlineQueryResult]
- answerInlineQueryCacheTime :: Maybe Seconds
- answerInlineQueryIsPersonal :: Maybe Bool
- answerInlineQueryNextOffset :: Maybe Text
- answerInlineQuerySwitchPmText :: Maybe Text
- answerInlineQuerySwitchPmParameter :: Maybe Text
- data ChosenInlineResult = ChosenInlineResult {}
Available types
User
data InlineQuery Source #
This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
InlineQuery | |
|
Instances
newtype InlineQueryId Source #
Unique identifier for this query
Instances
Available methods
answerInlineQuery
type AnswerInlineQuery = "answerInlineQuery" :> (ReqBody '[JSON] AnswerInlineQueryRequest :> Post '[JSON] (Response Bool)) Source #
data AnswerInlineQueryRequest Source #
AnswerInlineQueryRequest | |
|
Instances
data ChosenInlineResult Source #
ChosenInlineResult | |
|