mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 03:20:01 +00:00
15 lines
461 B
Python
15 lines
461 B
Python
"""Backward-compatible re-export. Use messaging.platforms.telegram for new code."""
|
|
|
|
from .platforms.telegram import (
|
|
TELEGRAM_AVAILABLE,
|
|
TelegramPlatform,
|
|
)
|
|
|
|
# Re-export telegram.error types when python-telegram-bot is installed
|
|
__all__ = ["TELEGRAM_AVAILABLE", "TelegramPlatform"]
|
|
try:
|
|
from telegram.error import NetworkError, RetryAfter, TelegramError
|
|
|
|
__all__ += ["NetworkError", "RetryAfter", "TelegramError"]
|
|
except ImportError:
|
|
pass
|