Async PHP client API for the telegram MTProto protocol
Async PHP client API for the telegram MTProto protocol
Created by Daniil Gentili
#StandWithUkraine
Do join the official channel, @MadelineProto and the support groups!
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!).
…
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).
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!
simpleBot.php - Extremely basic exampletgstories_dl_bot.php - Source code of @tgstories_dl_bot - Bot to download any Telegram Story!downloadRenameBot.php - Download files by URL and rename Telegram files using this async parallelized bot!secret_bot.php - Secret chat bot!pipesbot.php - Creating inline bots and using other inline bots via a userbot!bot.php - Examples for how to use filters, updates, get download links for any file, Telegram Stories and much more!Want to add your own open-source project to this list? Click here!
Some of MadelineProto's core components are also available as separate, standalone libraries:
Hi
src/DataCenter.php
Can I find out the date the buser for telegram deleted the account
25';(?)
Bot hangs (zombie state) instead of crashing on TimeoutException in updates.getChannelDifference
ক্বের্যুইওপ
সজবক
Telegram
Bug: Typed property MTProto::$logger accessed before initialization during session deserialization
AssertionError: Unknown entity type: messageEntityFormattedDate