SkillAgentSearch skills...

Mytelegram

Self-hosted Telegram server-side API implemented in C#

Install / Use

/learn @loyldg/Mytelegram

README

MyTelegram

API Layer MTProto MyTelegram Channel MyTelegram Discussion Group

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

  1. 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

  1. Edit .env and replace 192.168.1.100 with your own server IP address.

  2. Start the server:

mkdir -p ./data/mytelegram
chmod -R a+w ./data/mytelegram
docker compose up
  1. Default verification code (for testing only): 22222
  2. 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

  1. Clone the client source code.
  2. Search for 192.168.1.100 in 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

View on GitHub
GitHub Stars219
CategoryDevelopment
Updated56m ago
Forks70

Languages

C#

Security Score

100/100

Audited on Apr 2, 2026

No findings