TelegramBot.setChatPhoto

Set a new profile photo for the chat

More...
  1. bool setChatPhoto(T chat_id, InputFile photo)
    struct TelegramBot
    @trusted deprecated
    bool
    setChatPhoto
    (
    T
    )
  2. bool setChatPhoto(SetChatPhotoMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

photo InputFile

New chat photo

Return Value

Type: bool

true on success

Detailed Description

Deprecated: InputFile isn't supported yet

Throws

TelegramBotException on errors

See Also

Meta