Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype GetMyDescriptionRequest = GetMyDescriptionRequest {}
- type GetMyDescription = "getMyDescription" :> (ReqBody '[JSON] GetMyDescriptionRequest :> Post '[JSON] (Response BotDescription))
- getMyDescription :: GetMyDescriptionRequest -> ClientM (Response BotDescription)
- defGetMyDescription :: GetMyDescriptionRequest
GetMyDescription
newtype GetMyDescriptionRequest Source #
GetMyDescriptionRequest | |
|
Instances
FromJSON GetMyDescriptionRequest Source # | |
ToJSON GetMyDescriptionRequest Source # | |
Defined in Telegram.Bot.API.Methods.GetMyDescription | |
Generic GetMyDescriptionRequest Source # | |
Defined in Telegram.Bot.API.Methods.GetMyDescription type Rep GetMyDescriptionRequest :: Type -> Type # | |
type Rep GetMyDescriptionRequest Source # | |
Defined in Telegram.Bot.API.Methods.GetMyDescription type Rep GetMyDescriptionRequest = D1 ('MetaData "GetMyDescriptionRequest" "Telegram.Bot.API.Methods.GetMyDescription" "telegram-bot-api-7.4.1-2WtpFhMXNFKIB67Pjf7fgm" 'True) (C1 ('MetaCons "GetMyDescriptionRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMyDescriptionLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) |
type GetMyDescription = "getMyDescription" :> (ReqBody '[JSON] GetMyDescriptionRequest :> Post '[JSON] (Response BotDescription)) Source #
getMyDescription :: GetMyDescriptionRequest -> ClientM (Response BotDescription) Source #
Use this method to get the current bot description for the given user language.
Returns BotDescription
on success.