Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7435 commits
Select commit Hold shift + click to select a range
f733ca1
bugfixes
overtake Mar 14, 2025
9f3029f
bugfixes
overtake Mar 17, 2025
43194bc
bugfixes
overtake Mar 17, 2025
cc5c760
bugfixes
overtake Mar 17, 2025
0b985b6
bugfixes
overtake Mar 17, 2025
2843d8b
bugfixes
overtake Mar 26, 2025
b0ee1ff
bugfixes
overtake Mar 26, 2025
df2276b
- macos changes
overtake Mar 26, 2025
ef6115b
- macos changes
overtake Mar 26, 2025
9ed848e
bugfixes
overtake Mar 26, 2025
8ffcf67
bugfixes
overtake Mar 26, 2025
72d843b
group calls
overtake Apr 4, 2025
8ef2efb
group calls
overtake Apr 4, 2025
700b645
group calls
overtake Apr 4, 2025
ce24d8c
group calls
overtake Apr 4, 2025
be97335
group calls
overtake Apr 4, 2025
b0df5e2
group calls
overtake Apr 4, 2025
782ebdd
group calls
overtake Apr 8, 2025
9382935
group calls
overtake Apr 8, 2025
970a945
group calls
overtake Apr 8, 2025
dd726b4
group calls
overtake Apr 8, 2025
1317fdb
group calls
overtake Apr 10, 2025
dd2c09b
group calls
overtake Apr 10, 2025
d3b031d
group calls
overtake Apr 10, 2025
6687e37
group calls
overtake Apr 10, 2025
623ddef
gifts
overtake Apr 13, 2025
e83dd52
gifts
overtake Apr 13, 2025
b438ea6
bump
overtake Apr 13, 2025
2a51b23
bump
overtake Apr 13, 2025
672992c
bump
overtake Apr 13, 2025
292b89b
bump
overtake Apr 13, 2025
5f17ea0
bump
overtake Apr 13, 2025
1403e63
bump
overtake Apr 13, 2025
1ee3385
bump
overtake Apr 14, 2025
6aad761
bump
overtake Apr 14, 2025
3a436c4
bump group calls
overtake Apr 15, 2025
52e026a
bump group calls
overtake Apr 15, 2025
d1d33a9
Merge branch 'appstore' into gifts-sell
overtake Apr 15, 2025
eb54420
Merge branch 'appstore' into gifts-sell
overtake Apr 15, 2025
5395f26
bump
overtake Apr 15, 2025
f4de75b
bump
overtake Apr 15, 2025
406cf6f
bump
overtake Apr 15, 2025
f577e77
bump
overtake Apr 15, 2025
86c0696
bump
overtake Apr 17, 2025
7528dd1
bump
overtake Apr 17, 2025
5324065
Merge branch 'beta' into gifts-sell
overtake Apr 17, 2025
fbe3e82
Merge branch 'beta' into gifts-sell
overtake Apr 17, 2025
3ff921c
bump
overtake Apr 17, 2025
1831862
bump
overtake Apr 17, 2025
30a7d47
Revert "bump"
overtake Apr 17, 2025
e16b1a0
Revert "bump"
overtake Apr 17, 2025
c00b41a
gift sell
overtake Apr 18, 2025
ee3f6c4
gift sell
overtake Apr 18, 2025
c23a09a
gift sell
overtake Apr 18, 2025
540c316
gift sell
overtake Apr 18, 2025
907af9d
bump
overtake Apr 18, 2025
e0283c3
bump
overtake Apr 18, 2025
257f5dd
bump
overtake Apr 18, 2025
d9601a0
bump
overtake Apr 18, 2025
0ac828e
Merge branch 'beta' into gifts-sell
overtake Apr 18, 2025
247bc4c
Merge branch 'beta' into gifts-sell
overtake Apr 18, 2025
fc1927c
gifts
overtake Apr 18, 2025
b73835b
gifts
overtake Apr 18, 2025
5d35622
gifts
overtake Apr 18, 2025
d3ad8fa
gifts
overtake Apr 18, 2025
2f70f72
bump
overtake Apr 18, 2025
275a141
bump
overtake Apr 18, 2025
32a3394
bump
overtake Apr 18, 2025
dcb3f31
bump
overtake Apr 18, 2025
e27320c
bump
overtake Apr 22, 2025
37f6021
bump
overtake Apr 22, 2025
284ee90
Merge branch 'temp' into gifts-sell
overtake Apr 28, 2025
76efb02
Merge branch 'temp' into gifts-sell
overtake Apr 28, 2025
8f02229
bump
overtake Apr 28, 2025
7c223df
bump
overtake Apr 28, 2025
0a9ca19
bump
overtake Apr 28, 2025
cc28c90
bump
overtake Apr 28, 2025
cacb950
bump
overtake Apr 28, 2025
5203b41
bump
overtake Apr 28, 2025
515db2c
bump
overtake Apr 28, 2025
76aef56
bump
overtake Apr 28, 2025
a318b04
bump
overtake Apr 29, 2025
312f516
bump
overtake Apr 29, 2025
a954ca1
bump
overtake Apr 29, 2025
55d88d7
bump
overtake Apr 29, 2025
c4b92b8
bump
overtake Apr 29, 2025
6a515b9
bump
overtake Apr 29, 2025
7fcc902
bump
overtake Apr 29, 2025
cb3d4d3
bump
overtake Apr 29, 2025
235fc0f
bump
overtake Apr 29, 2025
4fbb65c
bump
overtake Apr 29, 2025
9b3371e
- bug fixes
overtake Apr 30, 2025
a425576
- bug fixes
overtake Apr 30, 2025
2bafe9b
Merge branch 'release'
overtake May 1, 2025
3090248
- bug fixes
overtake May 6, 2025
8ba7c0d
- bug fixes
overtake May 6, 2025
8074725
- bug fixes
overtake May 7, 2025
0331469
- bug fixes
overtake May 7, 2025
10eac89
- bug fixes
overtake May 7, 2025
3825fc6
- bug fixes
overtake May 7, 2025
2c58035
- bug fixes
overtake May 7, 2025
c0a2f37
- bug fixes
overtake May 7, 2025
06017a1
monoforums
overtake May 8, 2025
3c9340a
monoforums
overtake May 8, 2025
5c69637
-bugfixes
overtake May 8, 2025
a033e2a
-bugfixes
overtake May 8, 2025
6a8464c
-bugfixes
overtake May 8, 2025
a3fd178
-bugfixes
overtake May 8, 2025
080f093
Merge branch 'beta' into monoforums
overtake May 8, 2025
9a6afbe
Merge branch 'beta' into monoforums
overtake May 8, 2025
642b139
-bugfixes
overtake May 8, 2025
8b6b42c
-bugfixes
overtake May 8, 2025
38869e2
-bugfixes
overtake May 8, 2025
1164c6b
-bugfixes
overtake May 8, 2025
4de0fe0
-bugfixes
overtake May 8, 2025
37d1e38
-bugfixes
overtake May 8, 2025
4a0d847
-bugfixes
overtake May 8, 2025
4b9366b
-bugfixes
overtake May 8, 2025
2c965d9
no message
overtake May 8, 2025
c29ffc3
no message
overtake May 8, 2025
0342f01
-bugfixes
overtake May 8, 2025
644f247
-bugfixes
overtake May 8, 2025
7ccbf13
-bugfixes
overtake May 8, 2025
c32fc02
-bugfixes
overtake May 8, 2025
fb7307a
-bugfixes
overtake May 8, 2025
9df539c
-bugfixes
overtake May 8, 2025
d98fcb0
Merge branch 'beta' into monoforums
overtake May 8, 2025
7fcacfd
Merge branch 'beta' into monoforums
overtake May 8, 2025
1eb908c
-bugfixes
overtake May 8, 2025
67c9085
-bugfixes
overtake May 8, 2025
8da9838
-bugfixes
overtake May 8, 2025
c1920a5
-bugfixes
overtake May 8, 2025
a1f18a9
Merge branch 'appstore' into monoforums
overtake May 9, 2025
1fbc4fe
Merge branch 'appstore' into monoforums
overtake May 9, 2025
4592f32
-bugfixes
overtake May 9, 2025
c008019
-bugfixes
overtake May 9, 2025
0e8c2ae
-bugfixes
overtake May 9, 2025
c4f40b5
-bugfixes
overtake May 9, 2025
7598de2
-bugfixes
overtake May 28, 2025
72ff798
-bugfixes
overtake May 28, 2025
00823b9
-bugfixes
overtake May 29, 2025
7a7314d
-bugfixes
overtake May 29, 2025
e4f9846
-bugfixes
overtake May 29, 2025
8908984
-bugfixes
overtake May 29, 2025
9903693
-bugfixes
overtake May 30, 2025
520c14b
-bugfixes
overtake May 30, 2025
28c86cf
no message
overtake May 30, 2025
90f5596
no message
overtake May 30, 2025
230a33b
-bugfixes
overtake May 30, 2025
f6b9a29
-bugfixes
overtake May 30, 2025
f4cded7
todo list
overtake May 30, 2025
99ab722
todo list
overtake May 30, 2025
9db1378
-bugfixes
overtake May 31, 2025
83661da
-bugfixes
overtake May 31, 2025
4f92fe6
-bugfixes
overtake May 31, 2025
3375dda
-bugfixes
overtake May 31, 2025
bccaa00
-bugfixes
overtake Jun 2, 2025
2ae2785
-bugfixes
overtake Jun 2, 2025
a227704
Merge branch 'beta' into todo
overtake Jun 3, 2025
98217ab
Merge branch 'beta' into todo
overtake Jun 3, 2025
4db3604
fix pinned message
overtake Jun 3, 2025
079bf6c
fix pinned message
overtake Jun 3, 2025
82e3108
Merge branch 'beta' into todo
overtake Jun 3, 2025
5cd5926
Merge branch 'beta' into todo
overtake Jun 3, 2025
d0dee60
-bugfixes
overtake Jun 3, 2025
659553b
-bugfixes
overtake Jun 3, 2025
96e478c
-bugfixes
overtake Jun 3, 2025
f2b5eea
-bugfixes
overtake Jun 3, 2025
c7a012d
-bugfixes
overtake Jun 3, 2025
b4dcc77
-bugfixes
overtake Jun 3, 2025
1027958
Merge branch 'release' into appstore
overtake Jun 3, 2025
70456b2
Merge branch 'release' into appstore
overtake Jun 3, 2025
6e4bd13
-bugfixes
overtake Jun 3, 2025
e07078c
-bugfixes
overtake Jun 3, 2025
7e0f5fd
bug fixes
overtake Jun 4, 2025
0b0a1ea
bug fixes
overtake Jun 4, 2025
817da7b
bug fixes
overtake Jun 4, 2025
4ab861b
bug fixes
overtake Jun 4, 2025
057a749
bug fixes
overtake Jun 4, 2025
244b8c2
bug fixes
overtake Jun 4, 2025
153399d
Merge branch 'appstore' into todo
overtake Jun 5, 2025
7a3a1be
Merge branch 'appstore' into todo
overtake Jun 5, 2025
61b15ab
bug fixes
overtake Jun 7, 2025
78f02c6
bug fixes
overtake Jun 7, 2025
b027261
bug fixes
overtake Jun 7, 2025
7e26cec
bug fixes
overtake Jun 7, 2025
63e6efe
bug fixes
overtake Jun 8, 2025
75030b6
bug fixes
overtake Jun 8, 2025
c23657a
bug fixes
overtake Jun 8, 2025
fa34547
bug fixes
overtake Jun 8, 2025
77f735c
bug fixes
overtake Jun 8, 2025
6287877
bug fixes
overtake Jun 8, 2025
1544db1
bug fixes
overtake Jun 8, 2025
532fcfc
bug fixes
overtake Jun 8, 2025
719c00a
bug fixes
overtake Jun 9, 2025
d1e52a2
bug fixes
overtake Jun 9, 2025
ee0e0c6
Merge branch 'beta' into todo
overtake Jun 9, 2025
a97c213
Merge branch 'beta' into todo
overtake Jun 9, 2025
4b00201
bug fixes
overtake Jun 9, 2025
766542a
bug fixes
overtake Jun 9, 2025
cf31133
bug fixes
overtake Jun 10, 2025
9862875
bug fixes
overtake Jun 10, 2025
67b5f6e
bug fixes
overtake Jun 11, 2025
0dc1988
bug fixes
overtake Jun 11, 2025
36f84e2
build
overtake Jun 30, 2025
a2962df
build
overtake Jun 30, 2025
e73e5be
build
overtake Jun 30, 2025
ead09f6
build
overtake Jun 30, 2025
59b9b3d
build
overtake Jun 30, 2025
8c00c6a
build
overtake Jun 30, 2025
7e3552f
bug fixes
overtake Jul 1, 2025
c9e3e32
bug fixes
overtake Jul 1, 2025
fac0c4b
bug fixes
overtake Jul 1, 2025
0a84999
bug fixes
overtake Jul 1, 2025
5232baf
bug fixes
overtake Jul 1, 2025
4ca4168
bug fixes
overtake Jul 1, 2025
1a448ba
bug fixes
overtake Jul 1, 2025
e1144f7
bug fixes
overtake Jul 1, 2025
3288cd1
bug fixes
overtake Jul 1, 2025
a38ef34
bug fixes
overtake Jul 1, 2025
7044656
bug fixes
overtake Jul 1, 2025
b5b06eb
bug fixes
overtake Jul 1, 2025
0c5d696
bug fixes
overtake Jul 1, 2025
c7297ac
bug fixes
overtake Jul 1, 2025
48bbb6a
bug fixes
overtake Jul 1, 2025
c4773b6
bug fixes
overtake Jul 1, 2025
99192d8
Merge branch 'beta' into release
overtake Jul 1, 2025
3d7e49d
Merge branch 'beta' into release
overtake Jul 1, 2025
c0250aa
gifs collections
overtake Jul 15, 2025
60e641b
gifs collections
overtake Jul 15, 2025
efcfae5
gift folders
overtake Jul 16, 2025
535b69e
gift folders
overtake Jul 16, 2025
1f28e13
11.4
overtake Jul 22, 2025
0243a63
11.4
overtake Jul 22, 2025
2345c77
- bug fixes
overtake Jul 22, 2025
746efce
- bug fixes
overtake Jul 22, 2025
00190dc
- some improvements.
overtake Jul 22, 2025
928b771
- some improvements.
overtake Jul 22, 2025
db8cf6e
no message
overtake Jul 22, 2025
464ba1e
no message
overtake Jul 22, 2025
5bdadce
- some improvements.
overtake Jul 23, 2025
b5d1906
- some improvements.
overtake Jul 23, 2025
0019142
fix story media
overtake Jul 23, 2025
704558b
fix story media
overtake Jul 23, 2025
0620c6e
- fix d-n-d in chats
overtake Jul 24, 2025
b8177c8
update scheme
overtake Jul 29, 2025
d1ba3fd
Merge branch 'release' of github.com:overtake/TelegramSwift; branch '…
overtake Jul 29, 2025
a31de12
Merge branch 'release'
overtake Jul 29, 2025
5c3e3c2
fix suggesting stickers from my sets in the chat input box
kambala-decapitator Jun 6, 2025
cc69139
fix suggesting stickers from my sets in the Sticker Search screen
kambala-decapitator Jun 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@ fastlane/README.md
fastlane/report.xml
xcuserdata
xcuserstate
.DS_Store
core-xprojects/Mozjpeg/build
core-xprojects/openssl/build
core-xprojects/libwebp/build
core-xprojects/libopus/build
core-xprojects/ffmpeg/build
core-xprojects/webrtc/build
core-xprojects/libvpx/build
core-xprojects/OpenH264/build
submodules/libwebp/SharedHeaders
submodules/Mozjpeg/SharedHeaders
submodules/OpenSSLEncryptionProvider/SharedHeaders
core-xprojects/dav1d/build
core-xprojects/tde2e/build
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ beta:
except:
- tags
script:
- bash ./buildbox/internal.sh beta
- sh ./buildbox/internal.sh Beta
environment:
name: beta

Expand All @@ -33,7 +33,7 @@ alpha:
except:
- tags
script:
- bash ./buildbox/internal.sh alpha
- sh ./buildbox/internal.sh Alpha
environment:
name: alpha

Expand All @@ -46,7 +46,7 @@ appstore:
except:
- tags
script:
- bash ./buildbox/internal.sh appstore
- sh ./buildbox/internal.sh Appstore
environment:
name: appstore

Expand All @@ -59,6 +59,6 @@ release:
except:
- tags
script:
- bash ./buildbox/internal.sh release
- sh ./buildbox/internal.sh Stable
environment:
name: release
22 changes: 14 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
url=git@github.com:telegramdesktop/libtgvoip
[submodule "submodules/Sparkle"]
path = submodules/Sparkle
url=https://github.com/overtake/Sparkle
[submodule "submodules/Zip"]
path = submodules/Zip
url = https://github.com/overtake/Zip
url=git@gitlab.com:overtake/Sparkle.git
[submodule "submodules/telegram-ios"]
path = submodules/telegram-ios
url=git@gitlab.com:peter-iakovlev/telegram-ios.git
url=git@github.com:overtake/Telegram-iOS.git
[submodule "submodules/rlottie"]
path = submodules/rlottie
url=git@github.com:overtake/rlottie.git
[submodule "submodules/ton"]
path = submodules/ton
url=git@github.com:overtake/ton.git
[submodule "submodules/tgcalls"]
path = submodules/tgcalls
url=git@github.com:overtake/tgcalls.git
[submodule "submodules/tg_owt"]
path = submodules/tg_owt
url = git@github.com:desktop-app/tg_owt.git
[submodule "submodules/libprisma"]
path = submodules/libprisma
url=git@github.com:desktop-app/libprisma.git
[submodule "submodules/regex"]
path = submodules/regex
url = git@github.com:boostorg/regex.git
13 changes: 13 additions & 0 deletions FocusIntents/FocusIntents.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>6N38VWS5BX.ru.keepcoder.Telegram.FocusIntents</string>
<string>6N38VWS5BX.ru.keepcoder.Telegram</string>
</array>
</dict>
</plist>
69 changes: 69 additions & 0 deletions FocusIntents/FocusIntents.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
//
// FocusIntents.swift
// FocusIntents
//
// Created by Mikhail Filimonov on 25.04.2024.
// Copyright © 2024 Telegram. All rights reserved.
//

import AppIntents
import OSLog
import TelegramCore
import Postbox
import SwiftSignalKit
import InAppSettings
import ApiCredentials


@available(macOS 13, *)
struct FocusFilter: SetFocusFilterIntent {

@Parameter(title: "Use Dark Mode", description: "Automatically enable dark mode.", default: false)
var alwaysUseDarkMode: Bool

@Parameter(title: "Set Unable Status", description: "Set your account status to Unable. This feature requires Telegram Premium.", default: false)
var unableStatus: Bool


static var title: LocalizedStringResource = "Set Appearance And Status"

static var description: LocalizedStringResource? = """
Configure Appearance of app in focus mode
"""

var displayRepresentation: DisplayRepresentation {
var status: String = ""
if alwaysUseDarkMode {
status += "Dark Mode"
}
if unableStatus {
if status.isEmpty {
status += "Status"
} else {
status += ", Status"
}
}
return DisplayRepresentation(title: "Appearance And Status",
subtitle: LocalizedStringResource(stringLiteral: status))
}


var appContext: FocusFilterAppContext {
return FocusFilterAppContext(notificationFilterPredicate: nil)
}

static func suggestedFocusFilters(for context: FocusFilterSuggestionContext) async -> [FocusFilter] {
let workFilter = FocusFilter()
workFilter.alwaysUseDarkMode = true
workFilter.unableStatus = true
return [workFilter]
}

func perform() async throws -> some IntentResult {
let model = AppIntentDataModel(alwaysUseDarkMode: self.alwaysUseDarkMode, useUnableStatus: self.unableStatus)
if let model = model.encoded() {
UserDefaults(suiteName: ApiEnvironment.intentsBundleId)?.set(model, forKey: AppIntentDataModel.key)
}
return .result()
}
}
18 changes: 18 additions & 0 deletions FocusIntents/FocusIntentsExtension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// FocusIntentsExtension.swift
// FocusIntents
//
// Created by Mikhail Filimonov on 25.04.2024.
// Copyright © 2024 Telegram. All rights reserved.
//

import AppIntents
import OSLog


@main
struct FocusIntentsExtension: AppIntentsExtension {
init() {
AppDependencyManager.shared.add(dependency: AppIntentsData.shared)
}
}
13 changes: 13 additions & 0 deletions FocusIntents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EXAppExtensionAttributes</key>
<dict>
<key>EXExtensionPointIdentifier</key>
<string>com.apple.appintents-extension</string>
</dict>
<key>SOURCE</key>
<string>${SOURCE}</string>
</dict>
</plist>
27 changes: 21 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
# How to Build Telegram for macOS

1. Clone this repository with submodules:

```sh
```
git clone https://github.com/overtake/TelegramSwift.git --recurse-submodules
```
2. ```brew install cmake ninja openssl@1.1 zlib```
3. Open `Telegram-Mac.xcworkspace` in **Xcode 10.3**. Avoid Xcode 10.11+ because it causes additional errors when building the libraries with optimizations turned on.
4. Select build target to **Github** and **Run** build.
2. Install Homebrew:
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
3. Install tools:
```
brew install cmake ninja openssl@1.1 zlib autoconf libtool automake yasm pkg-config
```
4. Update ./scripts/rebuild file
```
replace "no" to "yes"
```
5. Run scripts to configurate framework:
```
sh %project_dir%/scripts/configure_frameworks.sh
```

6. Open `Telegram-Mac.xcworkspace` in [the latest Xcode](https://apps.apple.com/us/app/xcode/id497799835).
7. Setup codesign and **Build**!



# If you want to develop a fork

1. Do first and second step above.
1. For starters, you need [to build application](https://github.com/overtake/TelegramSwift/blob/master/INSTALL.md#how-to-build-telegram-for-macos).
2. Change bundle Identifier and team-id. Easiest way is to search all mentions `ru.keepcoder.Telegram` and change it to your own. Team-id you can find on apple developer portal.
3. Obtain your [API ID](https://core.telegram.org/api/obtaining_api_id). **Note:** The built-in `apiId` is highly limited for api usage. **Do not use it** in any circumstances except verify binaries.
4. Open `Telegram-Mac/Config.swift` and repalce `apiId` and `apiHash` from previous step. **Note:** Do not forget to change `teamId` either.
Expand Down
40 changes: 32 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
<div align="center">
<img src="https://github.com/overtake/TelegramSwift/raw/master/Telegram-Mac/Assets.xcassets/AppIcon.appiconset/icon2_128.png">
<img src="Telegram-Mac/Assets.xcassets/AppIcon.appiconset/Logo_1024.png"
width="125"
height="125">

<h2 align="center">Telegram for macOS</h2>
</div>

![Telegram macOS screenshot](https://github.com/s0ph0s-2/TelegramSwift/raw/docs/better-readme/images/tg.png)
![Telegram macOS screenshot](images/tg.png)

[**Telegram**](https://telegram.org) 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 for macOS](https://macos.telegram.org/).

## Get it

[![Download on the Mac App Store](https://github.com/s0ph0s-2/TelegramSwift/raw/docs/better-readme/images/mas_badge.png)](https://itunes.apple.com/us/app/telegram/id747648890?mt=12)
[![Download on the Mac App Store](images/mas_badge.png)](https://itunes.apple.com/us/app/telegram/id747648890?mt=12)

If you would like, you can [download the non-MAS version](https://telegram.org/dl/macos). It removes some restrictions (like banned chats), but also lacks some functionality (like the share extension and sandboxing).

### Using Homebrew

```
brew cask install telegram
```

### Using `mas-cli`

```
mas install 747648890
```

### Manual download

If you would like, you can [download the non-MAS version](https://telegram.org/dl/macos).

You can also [download the beta version](https://telegram.org/dl/macos/beta) if you want to try the latest features and you are prepared for bugs and crashes. If you are running the beta, join the [beta testing chat on Telegram](https://t.me/macswift) to report bugs.

Expand All @@ -20,11 +38,14 @@ You can also [download the beta version](https://telegram.org/dl/macos/beta) if
### Contributors on GitHub
See [this repository’s contributors graph](https://github.com/overtake/TelegramSwift/graphs/contributors).

### Bugs and Suggestions
You can report bug or suggestions feature for Telegram for macOS on [Telegram’s Bugs & Suggestions platform](https://bugs.telegram.org). Read [the platform tip](https://bugs.telegram.org/c/746) before creating first card.

### Translations
You can help translate Telegram for macOS on [Telegram’s translations platform](https://translations.telegram.org). Pick your language, then look for the macOS translation set.

<!--### Third-party libraries-->
<!--See [LIBRARIES](https://github.com/overtake/TelegramSwift/blob/master/LIBRARIES.md).-->
<!--See [LIBRARIES](LIBRARIES.md).-->

## Permissions
Telegram strives to protect your privacy. This app asks for as few permissions as possible:
Expand All @@ -37,8 +58,11 @@ Telegram strives to protect your privacy. This app asks for as few permissions
* **User-selected files**: You can save files or images to your Mac.
* **Downloads folder**: Telegram can automatically download files or images you receive.

## Shortcuts
With [Shortcuts](https://github.com/overtake/TelegramSwift/wiki) you can learn how easy is navigate using your devices.

## License
Telegram for macOS is licensed under the GNU Public License, version 2.0. See [LICENSE](https://github.com/overtake/TelegramSwift/blob/master/LICENSE.md) for more information.
Telegram for macOS is licensed under the GNU Public License, version 2.0. See [LICENSE](LICENSE) for more information.

## Forking
You can fork this application and make something awesome! Make sure that your fork follows these five requirements:
Expand All @@ -47,8 +71,8 @@ You can fork this application and make something awesome! Make sure that your fo
2. **Don’t** call your fork **Telegram** — or at least make sure your users understand that yours is unofficial.
3. **Don’t** use our standard logo (white paper plane in a blue circle) for your fork.
3. **Do** read and follow our [security guidelines](https://core.telegram.org/mtproto/security_guidelines) to make sure you take good care of your users’ data and protect their privacy.
4. **Do** publish your code. The [GPL license](https://github.com/overtake/TelegramSwift/blob/master/LICENSE) requires it!
4. **Do** publish your code. The [GPL license](LICENSE) requires it!

## How to Build

Instructions for building Telegram for macOS are in [INSTALL.md](https://github.com/overtake/TelegramSwift/blob/master/INSTALL.md).
Instructions for building Telegram for macOS are in [INSTALL.md](INSTALL.md).
47 changes: 1 addition & 46 deletions Telegram-Mac.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildSystemType</key>
<string>Latest</string>
</dict>
<dict/>
</plist>
Loading