telegram-bot

Builds Telegram bots for message handling, notifications, AI assistants, and group automation.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill telegram-bot-1t1scool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: telegram-bot
Source: https://github.com/1t1sCooL/zazyvala-bot/tree/main/.agents/skills/telegram-bot
Command: npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill telegram-bot-1t1scool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a Telegram bot from scratch requires wiring up BotFather setup, message routing, AI integration, and notification templates, which is repetitive boilerplate for every new bot project. ## Core Features & Use Cases - Bot Setup & Commands: Step-by-step BotFather configuration, command registration, and chat ID retrieval. - Message Handling Patterns: Routing for text, commands, photos, voice, documents, and location, including n8n workflow definitions. - AI & Notification Workflows: GPT-4 assistant integration with conversation memory, alert templates with severity routing, scheduled digests, group welcome bots, polls, and inline keyboards. - Use Case: Create a server monitoring alert bot that receives webhook events, formats severity-based messages with inline action buttons, and routes critical alerts to an on-call group. ## Quick Start Create a Telegram notification bot that sends formatted server alerts to a group chat with severity-based routing.

Frequently Asked Questions about telegram-bot

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

FAQPage Schema
How do I create a Telegram bot with BotFather?

Open @BotFather on Telegram, run /newbot, provide a bot name and a username ending in 'bot', and receive an API token. Then configure /setdescription, /setabouttext, /setuserpic, and /setcommands to complete setup.

How to handle different Telegram message types like photos and voice?

Route incoming updates by message type: download photos for vision AI analysis, transcribe voice with Whisper before processing, and extract document content based on file type. A switch node in n8n or pattern matching on the update payload handles the routing.

Can I integrate GPT-4 into a Telegram bot?

Yes, pass the message text to GPT-4 with a system prompt defining concise Telegram-friendly behavior, then send the completion back to the chat ID. The skill covers conversation memory using the last 10 messages and splitting responses over the 4096 character limit.

How do I get the chat ID for Telegram notifications?

Start a conversation with your bot, then call https://api.telegram.org/bot{TOKEN}/getUpdates and extract the chat.id field from the JSON response. Use this ID as the chat_id parameter when sending messages.

What are the limitations of Telegram bot messages?

Messages are limited to 4096 characters, so long responses must be split into multiple messages. Bots also cannot initiate conversations with users who have not started them first, and inline keyboards require callback query handlers.