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

Telegram.Bot.API.Methods.SetChatDescription

Synopsis

setChatDescription

type SetChatDescription = "setChatDescription" :> (RequiredQueryParam "chat_id" SomeChatId :> (QueryParam "description" Text :> Post '[JSON] (Response Bool))) Source #

setChatDescription Source #

Arguments

:: SomeChatId

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

-> Maybe Text

New chat description, 0-255 characters

-> ClientM (Response Bool) 

Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.