Mytelegram
Self-hosted Telegram server-side API implemented in C#
Install / Use
/learn @loyldg/MytelegramREADME
MyTelegram
MyTelegram is a self-hosted C# implementation of the Telegram server-side API, designed for private deployments and extensibility.
Supported Features
Open Source Features
- API Layer:
222 - MTProto Transports:
Abridged,Intermediate - Private Chat
- Supergroup Chat
- Channel
Pro Version Features
- End-to-End Encrypted Chat
- Voice & Video Calls
- Bot Support
- Privacy Settings & 2FA
- Stickers
- Reactions
- Star Gifts
- Forum Topics
- Themes & Wallpapers
- Auto-Delete Messages
- Scheduled Messages
- Chatlist
- Telegram Business
- Stories
- Passkey Login
- Email Login
- Email Sender
- Direct Messages
- Push Server (Firebase)
Running MyTelegram Server
Run with Docker
- Download the Docker Compose configuration files:
https://raw.githubusercontent.com/loyldg/mytelegram/dev/docker/compose/docker-compose.yml
https://raw.githubusercontent.com/loyldg/mytelegram/dev/docker/compose/.env
-
Edit
.envand replace192.168.1.100with your own server IP address. -
Start the server:
mkdir -p ./data/mytelegram
chmod -R a+w ./data/mytelegram
docker compose up
- Default verification code (for testing only):
22222 - Default listening ports:
20443,20543,20643,20644,30443,30444
Building Docker Images
Linux / amd64
./build-all-amd64.sh
Linux / arm64
./build-all-arm64.sh
MyTelegram Clients
| Platform | Repository | |----------|------------| | Desktop (TDesktop) | https://github.com/loyldg/mytelegram-tdesktop | | Android | https://github.com/loyldg/mytelegram-android | | iOS | https://github.com/loyldg/mytelegram-iOS | | WebK | https://github.com/loyldg/mytelegram-webk | | WebA | https://github.com/loyldg/mytelegram-weba |
Configure Clients
- Clone the client source code.
- Search for
192.168.1.100in all files and replace it with your own server IP.
Support MyTelegram
If you find MyTelegram helpful, please consider giving the project a ⭐.
Feedback
- Contact author: https://t.me/mytelegram666
- MyTelegram Channel: https://t.me/+9wMJrMqLTIoyYzM8
- Discussion Group: https://t.me/+S-aNBoRvCRpPyXrR
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
