Skip to content
This repository was archived by the owner on May 10, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# How to build?

**1. clone**

```bash
git clone https://github.com/peter-iakovlev/Telegram.git
```

**2. submodule**

* do
```bash
vi .git/config
```

* change the file path like
```bash
[submodule "submodules/MtProtoKit"]
active = true
url = https://github.com/peter-iakovlev/MtProtoKit.git
[submodule "thirdparty/SSignalKit"]
active = true
url = https://github.com/peter-iakovlev/Signals.git
```

* And than
```bash
git submodule update --init --recursive
```

**3. Build. If it shows ../../config.h file not found.**
* Creat a new head file named config(Telegraph->New File->Header File)
* Write
```bash
#define SETUP_API_ID(apiId) apiId = ******;
#define SETUP_API_HASH(apiHash) apiHash= @"******";
```

**4. Congratulation!**