Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Telegram.Bot.API.Methods.SetMyDescription
Contents
Synopsis
- data SetMyDescriptionRequest = SetMyDescriptionRequest {}
- type SetMyDescription = "setMyDescription" :> (ReqBody '[JSON] SetMyDescriptionRequest :> Post '[JSON] (Response Bool))
- setMyDescription :: SetMyDescriptionRequest -> ClientM (Response Bool)
- defSetMyDescription :: SetMyDescriptionRequest
setMyDescription
data SetMyDescriptionRequest Source #
Constructors
SetMyDescriptionRequest | |
Fields
|
Instances
type SetMyDescription = "setMyDescription" :> (ReqBody '[JSON] SetMyDescriptionRequest :> Post '[JSON] (Response Bool)) Source #
setMyDescription :: SetMyDescriptionRequest -> ClientM (Response Bool) Source #
Use this method to change the bot's description,
which is shown in the chat with the bot if the chat is empty.
Returns True
on success.