DLGram - Telegram MTProto API Client Library for Python
Copyright (C) 2026-present DLGram <https://t.me/dlgramUpdates>

DLGram is a fork-style project based on the Pyrogram/Pyrofork ecosystem.
It keeps the LGPL-3.0-or-later licensing model and preserves upstream
attribution.

Upstream attribution:
- Pyrogram: Copyright (C) 2017-present Dan <https://github.com/delivrance>
- Pyrofork: Copyright (C) 2022-present Mayuri-Chan <https://github.com/Mayuri-Chan>

DLGram continues to use or derive from major upstream components, including:
- Telegram MTProto session/auth architecture
- generated raw Telegram API types and functions
- parser helpers for HTML/Markdown entities
- storage/session abstractions
- dispatcher/handler abstractions
- file ID, media, download, and upload foundations
- tests and compiler/generator support files

DLGram-specific changes include lightweight cache options, smart update cache
behavior, reconnect-safe transport handling, safer download/session cleanup,
no_temp direct download support, simple button colour aliases, premium/custom
emoji button helpers, documentation, and automation workflows.

This project is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This project is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this project. If not, see <https://www.gnu.org/licenses/>.
