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.GetMyShortDescription

Synopsis

GetMyShortDescription

newtype GetMyShortDescriptionRequest Source #

Constructors

GetMyShortDescriptionRequest 

Fields

Instances

Instances details
Generic GetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyShortDescription

Associated Types

type Rep GetMyShortDescriptionRequest :: Type -> Type #

FromJSON GetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyShortDescription

ToJSON GetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyShortDescription

type Rep GetMyShortDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyShortDescription

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