Async PHP client API for the telegram MTProto protocol
Alternatives To Madelineproto
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
2 days ago2April 17, 2021511gpl-2.0Java
Telegram for Android source
Telethon8,1882721484 days ago216July 24, 202335mitPython
Pure Python 3 MTProto API Telegram client library, for bots too!
Webogram7,82714 months ago2May 13, 2021371gpl-3.0JavaScript
Telegram web application, GPL v3
Pyrogram3,700291175 days ago261January 12, 2023215lgpl-3.0Python
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
15 hours ago180gpl-3.0C#
Telegram for Windows
Madelineproto2,47329615 hours ago761August 21, 202312agpl-3.0PHP
Async PHP client API for the telegram MTProto protocol
Telegram React1,96919 months ago1April 20, 2022201gpl-3.0JavaScript
Experimental Telegram web client with tdlib, webassembly and react js under the hood
17 months ago35August 09, 20225mitGo
Highly opinionated MTPROTO proxy for Telegram
Teamgram Server1,441120 days ago24July 28, 2023apache-2.0Go
Unofficial open source mtproto server written in golang with compatible telegram client.
7 months ago6August 26, 201995mitPython
Async MTProto proxy for Telegram
Alternatives To Madelineproto
Select To Compare

Alternative Project Comparisons

MadelineProto, a PHP MTProto telegram client

Created by Daniil Gentili


Do join the official channel, @MadelineProto and the support groups!

Approved by Telegram!

What's this?

This library can be used to easily interact with Telegram without the bot API, just like the official apps.

It can login with a phone number (MTProto API), or with a bot token (MTProto API, no bot API involved!).

It is now fully async!

Getting started (now fully async!)


if (!file_exists('madeline.php')) {
    copy('', 'madeline.php');
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');

$me = $MadelineProto->getSelf();


if (!$me['bot']) {
    $MadelineProto->messages->sendMessage(peer: '@stickeroptimizerbot', message: "/start");

    $MadelineProto->channels->joinChannel(channel: '@MadelineProto');

    try {
        $MadelineProto->messages->importChatInvite(hash: '');
    } catch (\danog\MadelineProto\RPCErrorException $e) {
$MadelineProto->echo('OK, done!');

Try running this code in a browser or in a console!

Tip: if you receive an error (or nothing), send us the error message and the MadelineProto.log file that was created in the same directory (if running from a browser).

Made with MadelineProto

The following open source projects were created using MadelineProto: you can directly install them, or explore the source code as direct examples on how to use MadelineProto's many features!

Want to add your own open-source project to this list? Click here!


Popular Mtproto Projects
Popular Telegram Projects
Popular Security Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Telegram Api