TelegramBot.deleteChatPhoto

Delete a chat photo

  1. bool deleteChatPhoto(T chat_id)
    struct TelegramBot
    @trusted
    bool
    deleteChatPhoto
    (
    T
    )
  2. bool deleteChatPhoto(DeleteChatPhotoMethod m)

Parameters

chat_id T

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

Return Value

Type: bool

true on success

Throws

TelegramBotException on errors

See Also

Meta