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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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