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

Telegram.Bot.API.Methods.SetChatPhoto

Contents

Synopsis

setChatPhoto

data SetChatPhotoRequest Source #

Request parameters for setChatPhoto.

Constructors

SetChatPhotoRequest 

Fields

setChatPhoto :: SetChatPhotoRequest -> ClientM (Response Bool) Source #

Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.