This Docker image wraps the official Telegram Bot API server. Understanding the upstream project helps you leverage its full capabilities and report issues to the right place.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ragnarok22/telegram-bot-api-docker/llms.txt
Use this file to discover all available pages before exploring further.
Upstream Repository
telegram-bot-api
Official Telegram Bot API server source code maintained by the Telegram team
About the Upstream Server
- Language: C++ (built on TDLib)
- Maintainer: Telegram team
- License: Boost Software License 1.0
- Repository: https://github.com/tdlib/telegram-bot-api
Build Process
This Docker image compiles the upstream server from source:Version Alignment
This Docker image versions align with upstream Telegram Bot API releases:| Docker Image Tag | Upstream Version | Release Date |
|---|---|---|
latest | Latest default branch | Rolling |
9.5 | 9.5 | 2024 |
9.5.0 | 9.5.0 | 2024 |
Official Documentation
Telegram Bots Introduction
Getting started guide for Telegram bot developers
Bot API Reference
Complete API reference for all bot methods and types
Build Instructions
Interactive build instructions generator for the upstream server
TDLib Documentation
Documentation for the underlying TDLib library
Telegram Resources
Official Channels
@BotNews
Official channel for Bot API updates and announcements
@BotTalk
Community discussion group for bot developers
Getting Your Credentials
To use the Telegram Bot API server, you need credentials from Telegram:- Visit https://my.telegram.org
- Log in with your phone number
- Go to “API development tools”
- Create an application to get:
api_id(set asTELEGRAM_API_ID)api_hash(set asTELEGRAM_API_HASH)
Reporting Issues
Where to Report
Determine the right place to report issues: Report to this Docker project if the issue is related to:- Docker image build failures
- Entrypoint script bugs
- Environment variable handling
- Container startup issues
- Multi-architecture support
- Documentation errors
Docker Project Issues
Report Docker-specific issues here
- Telegram Bot API server functionality
- API method behavior
- Webhook handling
- File upload/download
- TDLib errors
- Bot API specification compliance
Upstream Issues
Report upstream server issues here
Before Reporting
- Search existing issues to avoid duplicates
- Test with latest version to ensure it’s not already fixed
- Gather information:
- Docker version and platform (amd64/arm64)
- Container logs
- Environment variables (redact secrets)
- Steps to reproduce
License Information
Upstream License
The Telegram Bot API server is licensed under the Boost Software License 1.0:Boost Software License
Official license text for the upstream Telegram Bot API server
- Free for commercial and non-commercial use
- No restrictions on distribution
- No warranty provided
Docker Wrapper License
This Docker wrapper (Dockerfile, entrypoint script, documentation) maintains compatibility with the upstream license.Contributing
Contributing to This Project
Contributions to the Docker wrapper are welcome:- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
bash tests/run.sh - Submit a pull request
- Improved documentation
- Additional environment variable support
- Enhanced testing
- Bug fixes
- Security improvements
Contributing Upstream
To contribute to the Telegram Bot API server itself:- Review upstream contribution guidelines
- Ensure your changes align with Telegram’s API specification
- Submit pull requests to the upstream repository
Advanced: Building from Source
If you want to build the upstream server manually (without Docker):Build Instructions Generator
Interactive tool that generates platform-specific build instructions
Build Dependencies
Alpine Linux:Related Projects
Official Telegram Libraries
- TDLib: Cross-platform library for building Telegram clients
- Telegram Database Library: Core library used by telegram-bot-api
Docker Alternatives
While this is an unofficial Docker wrapper, other community projects exist:- Check Docker Hub for alternative implementations
- Consider official binaries for direct deployment
- Evaluate based on maintenance, security, and features
Staying Updated
Track Upstream Changes
- Watch the repository: Star and watch tdlib/telegram-bot-api
- Subscribe to @BotNews: Get official announcements
- Review release notes: Check changes before upgrading
Update Your Deployment
Pull latest image:Support and Community
Get help and connect with other users:- Docker project: GitHub Discussions
- Bot development: @BotTalk on Telegram
- Official support: Telegram Bot API documentation