{
  "schemaVersion": "1.0",
  "item": {
    "slug": "telegram-send-photo",
    "name": "telegram-send-photo",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/suileyan/telegram-send-photo",
    "canonicalUrl": "https://clawhub.ai/suileyan/telegram-send-photo",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/telegram-send-photo",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=telegram-send-photo",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "telegram_send_photo.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/telegram-send-photo"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/telegram-send-photo",
    "agentPageUrl": "https://openagent3.xyz/skills/telegram-send-photo/agent",
    "manifestUrl": "https://openagent3.xyz/skills/telegram-send-photo/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/telegram-send-photo/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Description",
        "body": "This skill allows sending image files to Telegram using the Bot API. Useful for sharing screenshots, images, or any visual content through Telegram."
      },
      {
        "title": "Requirements",
        "body": "Python 3.x\nrequests library (pip install requests)\nTelegram Bot Token\nTarget Chat ID"
      },
      {
        "title": "Python Script",
        "body": "import requests\n\n# Configuration\nbot_token = \"YOUR_BOT_TOKEN\"\nchat_id = \"YOUR_CHAT_ID\"\nphoto_path = \"path/to/image.png\"\n\n# Send photo\nurl = f\"https://api.telegram.org/bot{bot_token}/sendPhoto\"\nfiles = {\"photo\": open(photo_path, \"rb\")}\ndata = {\"chat_id\": chat_id, \"caption\": \"图片描述\"}\nresp = requests.post(url, files=files, data=data)\n\n# Check response\nif resp.status_code == 200:\n    print(\"Photo sent successfully!\")\nelse:\n    print(f\"Failed: {resp.text}\")"
      },
      {
        "title": "Key Points",
        "body": "Open image in binary mode (\"rb\")\nchat_id is required\nUse caption for optional description\nHandle encoding issues for special characters"
      },
      {
        "title": "Configuration",
        "body": "Bot Token: 8610746914:AAHvbRYhGar_DD81-70IeWSSfkDLyvrWKY0\nChat ID: 8422738233\nPhoto Storage: D:\\mimoTool\\photo\\"
      },
      {
        "title": "Files",
        "body": "telegram_send_photo.py - Main script"
      },
      {
        "title": "Example",
        "body": "# Send a screenshot\nphoto_path = \"D:\\\\mimoTool\\\\photo\\\\20260225_103159.png\"\nsend_photo(photo_path, caption=\"截图\")"
      }
    ],
    "body": "Description\n\nThis skill allows sending image files to Telegram using the Bot API. Useful for sharing screenshots, images, or any visual content through Telegram.\n\nRequirements\nPython 3.x\nrequests library (pip install requests)\nTelegram Bot Token\nTarget Chat ID\nUsage\nPython Script\nimport requests\n\n# Configuration\nbot_token = \"YOUR_BOT_TOKEN\"\nchat_id = \"YOUR_CHAT_ID\"\nphoto_path = \"path/to/image.png\"\n\n# Send photo\nurl = f\"https://api.telegram.org/bot{bot_token}/sendPhoto\"\nfiles = {\"photo\": open(photo_path, \"rb\")}\ndata = {\"chat_id\": chat_id, \"caption\": \"图片描述\"}\nresp = requests.post(url, files=files, data=data)\n\n# Check response\nif resp.status_code == 200:\n    print(\"Photo sent successfully!\")\nelse:\n    print(f\"Failed: {resp.text}\")\n\nKey Points\nOpen image in binary mode (\"rb\")\nchat_id is required\nUse caption for optional description\nHandle encoding issues for special characters\nConfiguration\nBot Token: 8610746914:AAHvbRYhGar_DD81-70IeWSSfkDLyvrWKY0\nChat ID: 8422738233\nPhoto Storage: D:\\mimoTool\\photo\\\nFiles\ntelegram_send_photo.py - Main script\nExample\n# Send a screenshot\nphoto_path = \"D:\\\\mimoTool\\\\photo\\\\20260225_103159.png\"\nsend_photo(photo_path, caption=\"截图\")"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/suileyan/telegram-send-photo",
    "publisherUrl": "https://clawhub.ai/suileyan/telegram-send-photo",
    "owner": "suileyan",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/telegram-send-photo",
    "downloadUrl": "https://openagent3.xyz/downloads/telegram-send-photo",
    "agentUrl": "https://openagent3.xyz/skills/telegram-send-photo/agent",
    "manifestUrl": "https://openagent3.xyz/skills/telegram-send-photo/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/telegram-send-photo/agent.md"
  }
}