Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
GetMyShortDescriptionRequest | |
|
Instances
FromJSON GetMyShortDescriptionRequest Source # | |
ToJSON GetMyShortDescriptionRequest Source # | |
Generic GetMyShortDescriptionRequest Source # | |
type Rep GetMyShortDescriptionRequest Source # | |
Defined in Telegram.Bot.API.Methods.GetMyShortDescription type Rep GetMyShortDescriptionRequest = D1 ('MetaData "GetMyShortDescriptionRequest" "Telegram.Bot.API.Methods.GetMyShortDescription" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" 'True) (C1 ('MetaCons "GetMyShortDescriptionRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMyShortDescriptionLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) |
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.