Skip to content

MyTelegram is Telegram server side api implementation written in c#

License

Notifications You must be signed in to change notification settings

loyldg/mytelegram

Repository files navigation

MyTelegram

API Layer MTProto Support Chat

MyTelegram is telegram server side api implementation written in c#,support private deployment

Features

  • API Layer: 183
  • MTProto transports: Abridged,Intermediate
  • Private chat
  • Group chat
  • Supergroup chat
  • Channel
  • End-to-end-encryption chat(Pro version)
  • Voice/video call(Pro version)
  • Bot(Partial support,Pro version)
  • 2FA(Pro version)
  • Stickers(Pro version)
  • Reactions(Pro version)
  • ForumTopics(Pro version)

Build MyTelegram Server

  1. Install .NET SDK 8.0
  2. Run build/build.ps1 or build/build.sh
  3. Build output folder is out/{version}

Build docker images

Run the following scripts

build\docker\1.build-messenger-command-server.sh
build\docker\2.build-messenger-query-server.sh
build\docker\3.build-messenger-server-grpcservice.sh
build\docker\4.build-sms-sender.sh
build\docker\5.build-gateway-server.sh
build\docker\6.build-auth-server.sh

Run MyTelegram server

  • Run MyTelegram server with docker

  1. Download 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
    
  2. Replace 192.168.1.100 with your own server IP in .env
  3. Run the following command in the directory where the docker-compose.yml file is located
       docker compose up
    
  4. Default verification code is 22222

MyTelegram clients

TDesktop for mytelegram

Android client for mytelegram

iOS client for mytelegram

WebK for mytelegram

WebA for mytelegram

  1. Git clone the client source code
  2. Replace 192.168.1.100 with your server IP

Support MyTelegram

Love MyTelegram? Please give a star to this repository ⭐

Feedback

Contact author:https://t.me/mytelegram666
Join telegram group:https://t.me/+S-aNBoRvCRpPyXrR