- Replace procedural logic with TelegramDCChecker class - Introduce frozen DCServer dataclass with slots for DC option parsing - Add full type hints - Add docstrings to all classes and methods - Use itertools.groupby for DC grouping instead of manual dict building - Use pathlib.Path for file output