deleteChatPhoto
Delete a chat photo by providing the chat ID, removing the current image from groups or channels. Requires admin rights with can_change_info permission.
Instructions
Delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator with can_change_info rights. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username of the target channel (in the format @channelusername) |