Skip to content

loyldg/mytelegram

Repository files navigation

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: 216
  • MTProto Transports: Abridged, Intermediate
  • Private Chat
  • Supergroup Chat
  • Channel

Pro Version Features

  • End-to-End Encrypted Chat
  • Voice & Video Calls
  • Bot Support (Partial)
  • 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

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