Dashgram SDKs
Dashgram provides official SDKs for the most popular programming languages used in Telegram bot development. Our SDKs offer seamless integration, automatic framework detection, and comprehensive analytics tracking capabilities.By using our SDKs, you maintain fine-grained control over your bot data. We don’t expose your tokens or private information to our services - you choose exactly what information to share.
Available SDKs
Python SDK
Full support for aiogram, python-telegram-bot, and pyTelegramBotAPI with async/await capabilities.
Go SDK
High-performance SDK for Go with support for telebot and other Go bot libraries.
Node.js SDK
Native support for grammY, telegraf, and other Node.js Telegram bot frameworks.
Key Features
🚀 Easy Integration
🚀 Easy Integration
- Framework Detection: Automatically detects your bot framework
- Minimal Setup: Get started with just your project credentials
- Zero Configuration: Works out of the box with default settings
- Backward Compatible: Supports multiple framework versions
📊 Comprehensive Tracking
📊 Comprehensive Tracking
- All Update Types: Track messages, callback queries, inline queries, and more
- Custom Events: Define and track your own custom events
- User Analytics: Monitor user behavior and engagement patterns
- Performance Metrics: Track response times and error rates
🛡️ Privacy & Security
🛡️ Privacy & Security
- Local Processing: Data is processed locally before sending
- Selective Tracking: Choose exactly what data to track
- Token Protection: Your bot tokens never leave your application
- GDPR Compliant: Built with privacy regulations in mind
⚡ High Performance
⚡ High Performance
- Async Support: Full async/await support across all SDKs
- Non-blocking: Analytics tracking doesn’t impact bot performance
- Batch Processing: Efficient data transmission with batching
- Error Resilience: Graceful handling of network issues
Getting Started
1
Choose your SDK
Select the SDK that matches your programming language and bot framework.
2
Get your credentials
Sign up at Dashgram Dashboard and create a new project to get your
project_id
and access_key
.Your credentials are used to authenticate your bot with Dashgram’s analytics service. Keep them secure and never commit them to version control.
3
Install and configure
Follow the specific installation and setup instructions for your chosen SDK.
Most SDKs can be installed with a single command and require minimal configuration to get started.
4
Start tracking
Begin tracking events and monitor your bot’s performance through the Dashgram dashboard.
You’ll see your first analytics data within minutes of implementation.
Common Use Cases
User Analytics
Track user engagement, message patterns, and interaction flows to understand your bot’s effectiveness.
Performance Monitoring
Monitor response times, error rates, and uptime to ensure optimal bot performance.
Feature Usage
Analyze which bot features are most popular and identify areas for improvement.
A/B Testing
Test different bot responses and track user reactions to optimize your bot’s behavior.
Framework Compatibility
Python Frameworks
- aiogram (v3.x) - Full integration with automatic update tracking
- python-telegram-bot (v21.x) - Native support with async capabilities
- pyTelegramBotAPI (v4.x) - Seamless integration with webhook support
Node.js Frameworks
- grammY - First-class support with middleware integration
- telegraf - Native integration with automatic event tracking
- node-telegram-bot-api - Compatible with all major Node.js bot libraries
Go Frameworks
- telebot - High-performance integration with minimal overhead
- tgbotapi - Direct API integration with comprehensive tracking
- Custom implementations - Flexible SDK for any Go-based bot