Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Chat → Delete Chat Photo

AI-generated

Summary

Delete a photo from a chat

Inputs

  • chat_id (required) — Unique identifier for the target chat or username (@channelusername)

Output shape

boolean indicating success (usually true)

Telegram API returns an object with ok and result; the node extracts result, which is typically true on success. No further data is returned.

Examples

Example 1: Delete a photo from a group chat

Set chat_id to the group's ID; operation defaults to deleteChatPhoto.

Example 2: Remove a photo from a private chat

Provide the chat's username or ID in chat_id; no additional fields required.

Links

Discussion