github danog/MadelineProto 8.2.0
RPC error classes, default cancellations, IPC fixes

latest releases: 8.3.2, 8.3.1, 8.3.0...
3 months ago

Features:

  • Add \danog\MadelineProto\RPCError\RateLimitError - Represents a generic rate limiting RPC (FLOOD_WAIT_, FLOOD_PREMIUM_WAIT_, etc) error returned by telegram, extends RPCErrorException.
  • Add \danog\MadelineProto\RPCError\TimeoutError - Represents a request timeout RPC error returned by telegram (as opposed to one returned by MadelineProto, which will be an \Amp\TimeoutException).
  • Add over 65 more RPC errors in the danog\MadelineProto\RPCError namespace that extend RPCErrorException, to allow usage of specialized catch blocks for the most common RPC errors, instead of just catching RPCErrorException and checking $e->rpc.
  • Improve docker image defaults.
  • Add support for invokeWithBusinessConnection via the businessConnectionId parameter on supported methods.

Fixes:

  • Handle FLOOD_PREMIUM_WAIT_ errors during file operations.
  • Automatically refresh peer info on bot_info_version changes and updatePeerBlocked updates.
  • Fix issues with reverse IPC method calls.
  • Multiple other bugfixes.

Don't miss a new MadelineProto release

NewReleases is sending notifications on new releases.