Add message loading and update management services for Telegram integration

- Introduced a new `messageLoader` service to handle smart message fetching with three-direction loading, request cancellation via AbortController, and batch ID fetching.
- Implemented a `mtprotoService` for managing the MTProto client lifecycle, including initialization, connection, and authentication processes.
- Added an `updateManager` service to track and process updates with gap detection and recovery mechanisms, ensuring reliable message delivery.
- Included comprehensive tests for the update manager to validate its functionality and state management.

This update enhances the Telegram integration by providing robust message handling and update processing capabilities.
This commit is contained in:
Steven Enamakel
2026-01-31 01:13:29 +05:30
parent af39ee40f4
commit 862effe87e
4 changed files with 0 additions and 0 deletions