Telegram Desktop messaging app
Go to file
2014-11-28 15:05:37 +03:00
Telegram improved build steps in os x 2014-11-28 15:05:37 +03:00
.gitignore static link of libxcb-image added 2014-07-16 08:54:50 +04:00
LICENSE Initial commit 2014-05-02 05:36:31 -07:00
MSVC.md youtube and instagram preview display added (instead of messages with only one such link) 2014-11-12 23:18:00 +03:00
QTCREATOR.md build instructions improved for qt creator 2014-09-06 16:35:17 +04:00
README.md changed to official 2014-11-25 23:15:18 +03:00
Telegram.sln vs project settings improved, added Deploy configuration, version changed to 0.5 2014-05-30 13:55:07 +04:00
XCODE.md build instructions improved for qt creator 2014-09-06 16:35:17 +04:00

Telegram Desktop Official Telegram Messenger app

This is complete source code and build instructions for alpha version of official desktop client for Telegram messenger, based on Telegram API and MTProto secure protocol.

Source code is published under GPL v3, license is available here.

###Supported systems

  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows 8 (not RT)
  • Windows 8.1 (not RT)
  • OS X 10.7
  • OS X 10.8
  • OS X 10.9
  • Ubuntu 12.04
  • Ubuntu 13.04
  • Ubuntu 14.04

###Third-party

###Build instructions for Visual Studio 2013

###Build instructions for XCode 5.1.1

###Build instructions for Qt Creator 3.1.2 Ubuntu

##Projects in Telegram solution

####Telegram

tdesktop messenger

####Updater

little app, that is launched by Telegram when update is ready, replaces all files and launches it back

####Packer

compiles given files to single update file, compresses it with lzma and signs with a private key, it is not built in Debug and Release configurations of Telegram solution, because private key is inaccessible

####Prepare

prepares a release for deployment, puts all files to deploy/{version} folder, for Win:

  • current tsetup{version}exe installer
  • current Telegram.exe
  • current Telegram.pdb (debug info for crash minidumps view)
  • current tupdate{updversion} binary lzma update archive

for Mac:

  • current tsetup{version}dmg
  • current Telegram.app
  • current tmacupd{updversion} binary lzma update archive

####MetaEmoji

from two folders

  • SourceFiles/art/Emoji
  • SourceFiles/art/Emoji_200x

and some inner config creates four sprites and text2emoji replace code

  • SourceFiles/art/emoji.png
  • SourceFiles/art/emoji_125x.png
  • SourceFiles/art/emoji_150x.png
  • SourceFiles/art/emoji_200x.png
  • SourceFiles/gui/emoji_config.cpp

####MetaStyle

from two files and two sprites

  • Resources/style_classes.txt
  • Resources/style.txt
  • SourceFiles/art/sprite.png
  • SourceFiles/art/sprite_200x.png

creates two other sprites, four sprite grids and style constants code

  • SourceFiles/art/sprite_125x.png
  • SourceFiles/art/sprite_150x.png
  • SourceFiles/art/grid.png
  • SourceFiles/art/grid_125x.png
  • SourceFiles/art/grid_150x.png
  • SourceFiles/art/grid_200x.png
  • GeneratedFiles/style_classes.h
  • GeneratedFiles/style_auto.h
  • GeneratedFiles/style_auto.cpp

####MetaLang

from langpack file

  • Resources/lang.txt

creates lang constants code and lang file parse code

  • GeneratedFiles/lang.h
  • GeneratedFiles/lang.cpp