Technical Specifications

Telegram is an open-source chat program, which means that anybody may examine its source code, protocol, verified builds, and API. It is more secure than other messengers because it employs a variety of security mechanisms, which you can learn more about in the Telegram security FAQs.

Telegram employs the MTProto protocol to provide client-server encryption in Telegram cloud conversations. The protocol is intended to allow mobile device apps to contact a server API. The protocol is broken into three essentially separate components:

High-level (API query language): The process of converting API inquiries and answers to binary messages. Within a session, the client and server exchange messages. The session is associated with the client device rather than a specific Websocket/HTTP/HTTPS/CTP connection. In addition, each session is associated with a user key ID, which is used for permission.

Cryptographic (authorization): The process of encrypting communications before they are transferred over the transport protocol. Prior to being sent via a network using a transport protocol, a message is encrypted as follows: A user key and a message key form an actual 256-bit key that encrypts the message using AES-256 encryption.

Transport: The means by which the client and server send messages through another network protocol, such as HTTP, HTTPS, TCP, or UDP.