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

Synopsis

GetMyDescription

newtype GetMyDescriptionRequest Source #

Constructors

GetMyDescriptionRequest 

Fields

Instances

Instances details
Generic GetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

Associated Types

type Rep GetMyDescriptionRequest :: Type -> Type #

FromJSON GetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

Methods

parseJSON :: Value -> Parser GetMyDescriptionRequest

parseJSONList :: Value -> Parser [GetMyDescriptionRequest]

ToJSON GetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

type Rep GetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

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