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

Telegram.Bot.API.Methods.SetMyDescription

Synopsis

setMyDescription

data SetMyDescriptionRequest Source #

Constructors

SetMyDescriptionRequest 

Fields

Instances

Instances details
FromJSON SetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyDescription

ToJSON SetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyDescription

Generic SetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyDescription

Associated Types

type Rep SetMyDescriptionRequest :: Type -> Type #

type Rep SetMyDescriptionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetMyDescription

type Rep SetMyDescriptionRequest = D1 ('MetaData "SetMyDescriptionRequest" "Telegram.Bot.API.Methods.SetMyDescription" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "SetMyDescriptionRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "setMyDescriptionDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "setMyDescriptionLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

setMyDescription :: SetMyDescriptionRequest -> ClientM (Response Bool) Source #

Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success.