telegramdesktop/tdesktop
GitHub: telegramdesktop/tdesktop
Telegram官方桌面客户端完整源码,提供跨平台安全即时通讯的参考实现。
Stars: 30021 | Forks: 6349
# [Telegram Desktop][telegram_desktop] – 官方 messenger
这是官方 [Telegram][telegram] messenger 桌面客户端的完整源代码和构建说明,基于 [Telegram API][telegram_api] 和 [MTProto][telegram_proto] 安全协议。
[](https://github.com/telegramdesktop/tdesktop/releases)
[](https://github.com/telegramdesktop/tdesktop/actions)
[](https://github.com/telegramdesktop/tdesktop/actions)
[](https://github.com/telegramdesktop/tdesktop/actions)
[][preview_image_url]
源代码在带有 OpenSSL 例外的 GPLv3 下发布,许可证可在[此处][license]获取。
## 支持的系统
最新版本适用于
* [Windows 7 及更高版本 (64 位)](https://telegram.org/dl/desktop/win64) ([便携版](https://telegram.org/dl/desktop/win64_portable))
* [Windows 7 及更高版本 (32 位)](https://telegram.org/dl/desktop/win) ([便携版](https://telegram.org/dl/desktop/win_portable))
* [macOS 10.13 及更高版本](https://telegram.org/dl/desktop/mac)
* [Linux 64 位静态构建](https://telegram.org/dl/desktop/linux)
* [Snap](https://snapcraft.io/telegram-desktop)
* [Flatpak](https://flathub.org/apps/details/org.telegram.desktop)
## 旧系统版本
版本 **4.9.9** 是支持旧系统的最后一个版本
* [macOS 10.12](https://updates.tdesktop.com/tmac/tsetup.4.9.9.dmg)
* [glibc < 2.28 的 Linux 静态构建](https://updates.tdesktop.com/tlinux/tsetup.4.9.9.tar.xz)
版本 **2.4.4** 是支持旧系统的最后一个版本
* [OS X 10.10 和 10.11](https://updates.tdesktop.com/tosx/tsetup-osx.2.4.4.dmg)
* [Linux 32 位静态构建](https://updates.tdesktop.com/tlinux32/tsetup32.2.4.4.tar.xz)
版本 **1.8.15** 是支持旧系统的最后一个版本
* [Windows XP 和 Vista](https://updates.tdesktop.com/tsetup/tsetup.1.8.15.exe) ([便携版](https://updates.tdesktop.com/tsetup/tportable.1.8.15.zip))
* [OS X 10.8 和 10.9](https://updates.tdesktop.com/tmac/tsetup.1.8.15.dmg)
* [OS X 10.6 和 10.7](https://updates.tdesktop.com/tmac32/tsetup32.1.8.15.dmg)
## 第三方
* Qt 6 ([LGPL](http://doc.qt.io/qt-6/lgpl.html)) 和 Qt 5.15 ([LGPL](http://doc.qt.io/qt-5/lgpl.html)) 稍作修改
* OpenSSL 3.2.1 ([Apache License 2.0](https://www.openssl.org/source/apache-license-2.0.txt))
* WebRTC ([New BSD License](https://github.com/desktop-app/tg_owt/blob/master/LICENSE))
* zlib ([zlib License](http://www.zlib.net/zlib_license.html))
* LZMA SDK 9.20 ([公共领域](http://www.7-zip.org/sdk.html))
* liblzma ([公共领域](http://tukaani.org/xz/))
* Google Breakpad ([许可证](https://chromium.googlesource.com/breakpad/breakpad/+/master/LICENSE))
* Google Crashpad ([Apache License 2.0](https://chromium.googlesource.com/crashpad/crashpad/+/master/LICENSE))
* GYP ([BSD License](https://github.com/bnoordhuis/gyp/blob/master/LICENSE))
* Ninja ([Apache License 2.0](https://github.com/ninja-build/ninja/blob/master/COPYING))
* OpenAL Soft ([LGPL](https://github.com/kcat/openal-soft/blob/master/COPYING))
* Opus 编解码器 ([BSD License](http://www.opus-codec.org/license/))
* FFmpeg ([LGPL](https://www.ffmpeg.org/legal.html))
* Guideline Support Library ([MIT License](https://github.com/Microsoft/GSL/blob/master/LICENSE))
* Range-v3 ([Boost License](https://github.com/ericniebler/range-v3/blob/master/LICENSE.txt))
* Open Sans 字体 ([Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html))
* Vazirmatn 字体 ([SIL Open Font License 1.1](https://github.com/rastikerdar/vazirmatn/blob/master/OFL.txt))
* Emoji alpha 代码 ([MIT License](https://github.com/emojione/emojione/blob/master/extras/alpha-codes/LICENSE.md))
* xxHash ([BSD License](https://github.com/Cyan4973/xxHash/blob/dev/LICENSE))
* QR 码生成器 ([MIT License](https://github.com/nayuki/QR-Code-generator#license))
* CMake ([New BSD License](https://github.com/Kitware/CMake/blob/master/Copyright.txt))
* Hunspell ([LGPL](https://github.com/hunspell/hunspell/blob/master/COPYING.LESSER))
* Ada ([Apache License 2.0](https://github.com/ada-url/ada/blob/main/LICENSE-APACHE))
## 构建说明
* [Windows (32 位和 64 位)][win]
* [macOS][mac]
* [GNU/Linux 使用 Docker][linux]
标签:Bash脚本, C++, GPLv3, messenger, MTProto, Python 3.9+, Telegram, 加密通讯, 即时通讯, 安全测试工具, 官方客户端, 数据擦除, 桌面客户端, 消息应用, 社交媒体, 端到端加密