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

Contents

Synopsis

GetMyName

newtype GetMyNameRequest Source #

Constructors

GetMyNameRequest 

Fields

Instances

Instances details
FromJSON GetMyNameRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyName

ToJSON GetMyNameRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyName

Generic GetMyNameRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyName

Associated Types

type Rep GetMyNameRequest :: Type -> Type #

type Rep GetMyNameRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.GetMyName

type Rep GetMyNameRequest = D1 ('MetaData "GetMyNameRequest" "Telegram.Bot.API.Methods.GetMyName" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" 'True) (C1 ('MetaCons "GetMyNameRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMyNameLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

getMyName :: GetMyNameRequest -> ClientM (Response BotName) Source #

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