Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AnswerWebAppQueryRequest = AnswerWebAppQueryRequest {}
- newtype SentWebAppMessage = SentWebAppMessage {}
- type AnswerWebAppQuery = "answerWebAppQuery" :> (ReqBody '[JSON] AnswerWebAppQueryRequest :> Post '[JSON] (Response SentWebAppMessage))
- answerWebAppQuery :: AnswerWebAppQueryRequest -> ClientM (Response SentWebAppMessage)
Types
AnswerWebAppQueryRequest
data AnswerWebAppQueryRequest Source #
AnswerWebAppQueryRequest | |
|
Instances
SentWebAppMessage
newtype SentWebAppMessage Source #
Contains information about an inline message sent by a Web App on behalf of a user.
Instances
Methods
answerWebAppQuery
type AnswerWebAppQuery = "answerWebAppQuery" :> (ReqBody '[JSON] AnswerWebAppQueryRequest :> Post '[JSON] (Response SentWebAppMessage)) Source #
answerWebAppQuery :: AnswerWebAppQueryRequest -> ClientM (Response SentWebAppMessage) Source #
Use this method to set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated.
On success, a SentWebAppMessage
object is returned.