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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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