Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Telegram.Bot.API.Methods.GetMyShortDescription
Contents
Synopsis
- newtype GetMyShortDescriptionRequest = GetMyShortDescriptionRequest {}
- type GetMyShortDescription = "getMyShortDescription" :> (ReqBody '[JSON] GetMyShortDescriptionRequest :> Post '[JSON] (Response BotShortDescription))
- getMyShortDescription :: GetMyShortDescriptionRequest -> ClientM (Response BotShortDescription)
- defGetMyShortDescription :: GetMyShortDescriptionRequest
GetMyShortDescription
newtype GetMyShortDescriptionRequest Source #
Constructors
GetMyShortDescriptionRequest | |
Fields
|
Instances
type GetMyShortDescription = "getMyShortDescription" :> (ReqBody '[JSON] GetMyShortDescriptionRequest :> Post '[JSON] (Response BotShortDescription)) Source #
getMyShortDescription :: GetMyShortDescriptionRequest -> ClientM (Response BotShortDescription) Source #
Use this method to get the current bot short description for the given user language.
Returns BotShortDescription
on success.