telegram-bot-api-6.7: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Methods.SetMyShortDescription

Synopsis

setMyShortDescription

data SetMyShortDescriptionRequest Source #

Constructors

SetMyShortDescriptionRequest 

Fields

Instances

Instances details
FromJSON SetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyShortDescription

ToJSON SetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyShortDescription

Generic SetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyShortDescription

Associated Types

type Rep SetMyShortDescriptionRequest :: Type -> Type #

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.7-8B5O9jcStFh8aacJiwZZeM" '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))))

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.