By Admin on Tuesday, 21 July 2020
Category: All

iOS Telegram Client

From sgcWebSockets 4.4.2 Telegram is supported for iOS64 devices, which means that you can build your own telegram client. TDLib takes care of all network implementation details, encryption and local data storage. TDLib supports all Telegram features.

TDLib (Telegram Database Library) Advantages

Configuration 

Copy the library libtdjson.a to the following directories:


Where <IDE Version> is the number that identifies your Rad Studio version (example: Rad Studio 10.4 is 21.0).​

Create your Telegram 

In order to obtain an API id and develop your own application using the Telegram API you need to do the following:

These values must be set in Telegram.API property of Telegram component. In order to authenticate, you must set your phone number (with international code), example: 34699123456

The following parameters can be configured:

Once you have configured Telegram Component, you can set Active property to true and program will try to connect to Telegram. 

iOS Sample Code

 iOS Telegram Client Screenshots

Related Posts