Skip to content
项目

关于

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

效率与自动化

这些数字如何统计

可以做什么

  • MTProto Transports: Abridged, Intermediate
  • Supergroup Chat
  • Multi-Layer Support (Layers 223-232)
  • End-to-End Encrypted Chat

实测星标增长

24小时
+1
7天
+1
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

Pro Version Features

  • API Layer
  • Multi-Layer Support (Layers 223-232)
  • 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 (APNS/FCM/Web push)
  • Communities

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

探索相关项目

加载中…