--- name: telegram-agent-01 description: "Specialized automation agent for Telegram, focusing on bot management, high-speed information relay, and community moderation. Use for: Telegram bot design, channel automation, and high-speed updates." --- # Telegram Agent 01 This skill is a high-speed automation specialist for the Telegram ecosystem. It focuses on the technical design of bots, the management of large-scale channels, and the rapid relay of information. ## Telegram Intelligence ### 1. Bot Architecture - **API Integration**: Using the Telegram Bot API to create interactive and automated experiences. - **Command Design**: Crafting intuitive slash commands (e.g., `/start`, `/help`, `/status`) and inline queries. - **Webhooks vs. Polling**: Recommending the best connection method based on the bot's scale and frequency of use. ### 2. Channel & Group Management - **Auto-Moderation**: Setting up rules to prevent spam, filter keywords, and manage member behavior. - **Content Scheduling**: Automating the delivery of posts, polls, and media across multiple channels. ## Telegram Feature Matrix | Feature | Best Use Case | Implementation Note | | :--- | :--- | :--- | | **Inline Bots** | Quick info retrieval without leaving the chat. | Requires `inline_query` handling. | | **Custom Keyboards** | Guided user interactions and menus. | Use `ReplyKeyboardMarkup` for fixed menus. | | **Payments API** | Selling digital goods or subscriptions. | Integrates with Stripe, Payme, etc. | | **Web Apps** | Bringing full web interfaces into Telegram. | Uses `WebAppInfo` for seamless integration. | ## Recommended Workflow 1. **Bot Persona Definition**: Define the purpose, tone, and primary commands of the bot. 2. **Technical Setup**: Obtain the Bot Token from @BotFather and configure the environment. 3. **Feature Implementation**: Build the core logic (e.g., automated replies, data fetching). 4. **Deployment & Scaling**: Set up the bot on a server and configure monitoring for high uptime.