Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
SetMyShortDescriptionRequest | |
|
Instances
FromJSON SetMyShortDescriptionRequest Source # | |
ToJSON SetMyShortDescriptionRequest Source # | |
Generic SetMyShortDescriptionRequest Source # | |
type Rep SetMyShortDescriptionRequest Source # | |
Defined in Telegram.Bot.API.Methods.SetMyShortDescription type Rep SetMyShortDescriptionRequest = D1 ('MetaData "SetMyShortDescriptionRequest" "Telegram.Bot.API.Methods.SetMyShortDescription" "telegram-bot-api-6.7.1-JVNyvYxjlO5KvMz4dPbeZL" 'False) (C1 ('MetaCons "SetMyShortDescriptionRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "setMyShortDescriptionDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "setMyShortDescriptionLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) |
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.