Skip to content

MadelineProto 7

Compare
Choose a tag to compare
@danog danog released this 13 Dec 18:22

Introducing MadelineProto 7!

This update is mandatory for all MadelineProto users.

Due to 64-bit user IDs and Telegram's new API TOS, starting from January 1, 2022, old MadelineProto instances will stop working completely: even now, legacy instances can't login due to UPDATE_APP_TO_LOGIN errors.

If you're using MadelineProto 1 through 6, visit the releases page to view changelogs and upgrade tips.
You can also open an issue or visit the support group if you encounter issues while upgrading.

For most usecases, no changes are needed: however, graphical clients based on MadelineProto must implement sponsored messages.

Features:

Clients must then handle fetched sponsored messages as described in the API documentation.

  • Layer 135! See the API documentation for a list of changed methods and constructors in layer 131-133.
    Changes in layer 133-135:

Added methods:

Changed methods:

Changed Constructors

New Constructors

Deprecations:

  • Dropped 32-bit support.
    Android users can install 64-bit builds of php using Termux.
    Raspberry pi users can use a 64-bit distro like archlinuxarm.org.
  • MadelineProto now supports only php 7.1+
  • The eio extension is no longer compatible with MadelineProto.

Fixes:

  • Fixed a side-channel reported by Theo von Arx and Kenneth G. Paterson @ ETH Zürich.

Internal improvements:

  • Many, many internal bugfixes and performance improvements!
  • Switched to the new RSA-OAEP-based authkey flow.
  • Native openssl integration for faster crypto!
  • Removed loads of legacy 32-bit hacks, greatly improving performance!