Changes
- AES-IGE (the cipher behind every encrypted message) no longer recreates the AES context per 16-byte block — same output, ~3x throughput.
- File uploads now use a sliding window instead of batching parts — one slow or flood-waited part no longer stalls its whole batch.
- Borrowed API senders are now leased with explicit enter/leave tracking, so a long-running upload no longer gets disconnected by the idle-timeout mid-transfer.
- More internal calls migrated from
new Api.X()to the typedclient.apifacade; no public API changes.
Fixes
- Fixed a 1.227.2 regression that broke the public contract of
getDialogs(),getMessages()/iterMessages(), callback-queryanswer()/respond()/reply()/edit(), and poll voting, by leaving required TL fields undefined (#20).
Upgrade
- Run:
npm i teleproto@latest