telegram-bot-api-6.5.1: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.Methods.SetMyShortDescription

Synopsis

setMyShortDescription

data SetMyShortDescriptionRequest Source #

Constructors

SetMyShortDescriptionRequest 

Fields

Instances

Instances details
Generic SetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyShortDescription

Associated Types

type Rep SetMyShortDescriptionRequest :: Type -> Type #

FromJSON SetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyShortDescription

ToJSON SetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyShortDescription

type Rep SetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyShortDescription

type Rep SetMyShortDescriptionRequest = D1 ('MetaData "SetMyShortDescriptionRequest" "Telegram.Bot.API.Methods.SetMyShortDescription" "telegram-bot-api-6.5.1-inplace" '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.