telegram-bot-api-7.4.5: 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
FromJSON GetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

ToJSON GetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

Generic GetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

Associated Types

type Rep GetMyDescriptionRequest 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyDescription

type Rep GetMyDescriptionRequest = D1 ('MetaData "GetMyDescriptionRequest" "Telegram.Bot.API.Methods.GetMyDescription" "telegram-bot-api-7.4.5-C30gz7jHapzKe4VtLU2OM4" 'True) (C1 ('MetaCons "GetMyDescriptionRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMyDescriptionLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))
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-7.4.5-C30gz7jHapzKe4VtLU2OM4" 'True) (C1 ('MetaCons "GetMyDescriptionRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMyDescriptionLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

getMyDescription :: GetMyDescriptionRequest -> ClientM (Response BotDescription) Source #

Use this method to get the current bot description for the given user language. Returns BotDescription on success.