mytelegram
mytelegram copied to clipboard
MyTelegram is Telegram server side api implementation written in c#
MyTelegram
MyTelegram is Telegram server side api implementation written in c#,support private deployment
Features
- API Layer:
174
-
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
- Install .NET SDK 8.0
- Run
build/build.ps1
(PowerShell7+) - 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
Run MyTelegram server
-
Run MyTelegram server with docker
- Download docker-compose configuration files
https://github.com/loyldg/mytelegram/blob/dev/docker/compose/docker-compose.yml https://github.com/loyldg/mytelegram/blob/dev/docker/compose/.env
- Change the IP address in .env,replace
192.168.1.100
with the IP address of gateway server - Run the following command in the directory where the docker-compose.yml file is located
docker compose up
-
Run MyTelegram manually
- Download mytelegram server from https://github.com/loyldg/mytelegram/releases
- Install Redis
- Install MongoDB
- Intall RabbitMQ
- Install Minio
- Modify server configuration in
start-all.bat
/start-all.sh
,replace192.168.1.100
with the IP address of gateway server - Run
start-all.bat
/start-all.sh
- Run telegram client
- Default verification code is
22222
MyTelegram clients
- Git clone the client source code
- 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