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!). Internal peer management: you can provide a simple bot API chat id or a username to send a message or to call other mtproto methods! You can easily login as a user (2FA is supported) or as a bot! Simple error handling! It is highly customizable with a lot of different settings! Bot API file id/object support (even for users)! A Lua binding, a lua wrapper for td-cli scripts, Secret chats, MTProto 2.0, PFS, PFS in secret chats. MadelineProto can do everything official clients can do, and more! MadelineProto requires the mbstring, xml, json, fileinfo, gmp extensions to function properly.

Features

  • It allows you to do everything official clients can do, programmatically!
  • It is fully async
  • It can be proxied (MTProxy, HTTP, socks5 and more)
  • It can be easily serialized
  • It featured update handling with callbacks or long polling
  • Easy to use wrappers to upload/download files and call mtproto methods

Project Samples

Project Activity

See All Activity >

License

Affero GNU Public License

Follow MadelineProto

MadelineProto Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MadelineProto!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Data Formats Software, PHP Communications Software, PHP Telegram Bots

Registered

2022-02-25