strands-telegram
strands-telegram is a comprehensive Telegram Bot API integration tool with 60+ methods for complete bot development capabilities.
Installation
Section titled “Installation”pip install strands-telegramfrom strands import Agentfrom strands_telegram import telegram
agent = Agent(tools=[telegram])
# Send simple messageagent("send a Telegram message 'Hello World' to chat 123456")
# Send media with captionagent("send photo.jpg to Telegram with caption 'Check this out!'")
# Create interactive keyboardagent("send a message with buttons: Yes/No for approval")Key Features
Section titled “Key Features”- 60+ Telegram API Methods: Complete Bot API coverage
- Media Support: Photos, videos, audio, documents, and stickers
- Interactive Elements: Inline keyboards, polls, dice games
- Group Management: Admin functions, member management, permissions
- File Operations: Upload, download, and media handling
- Webhook Support: Real-time message processing
- Custom API Calls: Extensible for any Telegram method
Configuration
Section titled “Configuration”TELEGRAM_BOT_TOKEN=your_bot_token # RequiredGet your bot token at: BotFather