Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Telegram.Bot.API.Methods.DeleteMyCommands
Contents
Synopsis
- data DeleteMyCommandsRequest = DeleteMyCommandsRequest {}
- type DeleteMyCommands = "deleteMyCommands" :> (ReqBody '[JSON] DeleteMyCommandsRequest :> Post '[JSON] (Response Bool))
- deleteMyCommands :: DeleteMyCommandsRequest -> ClientM (Response Bool)
deleteMyCommands
data DeleteMyCommandsRequest Source #
Request parameters for deleteMyCommands
.
Constructors
DeleteMyCommandsRequest | |
Fields
|
Instances
type DeleteMyCommands = "deleteMyCommands" :> (ReqBody '[JSON] DeleteMyCommandsRequest :> Post '[JSON] (Response Bool)) Source #
deleteMyCommands :: DeleteMyCommandsRequest -> ClientM (Response Bool) Source #
Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success.