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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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