telegram-media-send

Sends images, audio, or documents to Telegram via Bot API methods.

3|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/neoalienson/skills --skill telegram-media-send
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: telegram-media-send
Source: https://github.com/neoalienson/skills/tree/main/telegram-media-send
Command: npx skills add https://github.com/neoalienson/skills --skill telegram-media-send

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates sending media (images, audio, and documents) to Telegram via the Bot API, removing manual steps and streamlining communications.

Core Features & Use Cases

  • Automatic media routing: Detects file type and uses the correct Telegram method (sendPhoto for images, sendAudio for audio, sendDocument for other files).
  • Flexible captions: Supports optional captions with any media.
  • Use Case: Quickly share a product photo or a document to a Telegram chat or channel with a single command.

Quick Start

Use the telegram-media-send skill to send a file: node telegram-media-send/scripts/send_telegram_media.mjs <CHAT_ID> <PATH_TO_FILE> [CAPTION]

Frequently Asked Questions about telegram-media-send

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send media to a Telegram chat using the Bot API in Node.js?

To send media to a Telegram chat using the Bot API in Node.js, this skill automatically routes files to the correct method, invoking sendPhoto for images, sendAudio for audio, and sendDocument for other files, with optional captions.

Can I use Telegram Bot API to send documents with a caption?

Yes, you can use the Telegram Bot API to send documents with a caption. This skill supports adding optional captions to any media type, including images, audio files, and general documents shared to chats or channels.

How does Telegram Bot API handle different media types automatically?

The Telegram Bot API handles different media types automatically by detecting the file type and selecting the matching API method. It uses sendPhoto for images, sendAudio for audio, and sendDocument for other files to streamline sharing.

Do I need to manually choose sendPhoto or sendDocument when sending files to Telegram?

No, you do not need to manually choose sendPhoto or sendDocument when sending files to Telegram. This Node.js script automatically checks file existence and dynamically selects the correct API method based on the detected media type.

What is the best way to automate sending images to a Telegram channel via Bot API?

The best way to automate sending images to a Telegram channel via Bot API is using this Node.js script, which retrieves runtime tokens, verifies file existence, and invokes the sendPhoto method with a single command line execution.