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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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