Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Telegram.Bot.API.Methods.SetMyShortDescription
Contents
Synopsis
- data SetMyShortDescriptionRequest = SetMyShortDescriptionRequest {}
- type SetMyShortDescription = "setMyShortDescription" :> (ReqBody '[JSON] SetMyShortDescriptionRequest :> Post '[JSON] (Response Bool))
- setMyShortDescription :: SetMyShortDescriptionRequest -> ClientM (Response Bool)
- defSetMyShortDescription :: SetMyShortDescriptionRequest
setMyShortDescription
data SetMyShortDescriptionRequest Source #
Constructors
SetMyShortDescriptionRequest | |
Fields
|
Instances
type SetMyShortDescription = "setMyShortDescription" :> (ReqBody '[JSON] SetMyShortDescriptionRequest :> Post '[JSON] (Response Bool)) Source #
setMyShortDescription :: SetMyShortDescriptionRequest -> ClientM (Response Bool) Source #
Use this method to change the bot's short description,
which is shown on the bot's profile page and
is sent together with the link when users share the bot.
Returns True
on success.