Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SetMyCommandsRequest = SetMyCommandsRequest {}
- type SetMyCommands = "setMyCommands" :> (ReqBody '[JSON] SetMyCommandsRequest :> Post '[JSON] (Response Bool))
- setMyCommands :: SetMyCommandsRequest -> ClientM (Response Bool)
setMyCommands
data SetMyCommandsRequest Source #
Request parameters for setMyCommands
.
SetMyCommandsRequest | |
|
Instances
type SetMyCommands = "setMyCommands" :> (ReqBody '[JSON] SetMyCommandsRequest :> Post '[JSON] (Response Bool)) Source #
setMyCommands :: SetMyCommandsRequest -> ClientM (Response Bool) Source #
Use this method to change the list of the bot's commands. See https://core.telegram.org/bots#commands for more details about bot commands. Returns True on success.