Skip to main content

telegram

Send messages and manage Telegram bots via the Bot API.

Source facts

Repository
ThinkfleetAI/thinkfleet-engine
Last source activity
February 1, 2026 at 16:21
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
telegram
description
Send messages and manage Telegram bots via the Bot API.
metadata
{"thinkfleetbot":{"emoji":"✈️","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# Telegram Bot Send messages and manage bots via the Telegram Bot API. ## Environment Variables - `TELEGRAM_BOT_TOKEN` - Bot token from @BotFather ## Send message ```bash curl -s -X POST \ "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \ -H "Content-Type: application/json" \ -d '{"chat_id":"CHAT_ID","text":"Hello from ThinkFleetBot!"}' | jq '{ok, result: {message_id, chat: .result.chat.title}}' ``` ## Get updates ```bash curl -s "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getUpdates?limit=10" | jq '.result[] | {update_id, message: {from: .message.from.username, text: .message.text}}' ``` ## Get bot info ```bash curl -s "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe" | jq '.result' ``` ## Send photo ```bash curl -s -X POST \ "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendPhoto" \ -F "chat_id=CHAT_ID" -F "photo=@/path/to/photo.jpg" -F "caption=Photo caption" | jq '{ok}' ``` ## Notes - Always confirm before sending messages. - Get chat_id from getUpdates after sending a message to the bot.
View on GitHub