File size: 681 Bytes
78c0e6a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# database/telegram.py
# DEPRECATED - Telegram verification now uses remote HuggingFace API directly.
# This file kept as empty stub so any old imports don't crash.

"""

DEPRECATED: Telegram verification database.

All telegram verification now goes through auth/telegram_api.py

which calls the remote HuggingFace server directly.

"""


def load_telegram_db():
    """DEPRECATED - returns empty dict."""
    return {}


def save_telegram_db(data):
    """DEPRECATED - no-op."""
    pass


def get_telegram_user(user_id):
    """DEPRECATED - returns None."""
    return None


def set_telegram_user(user_id, data):
    """DEPRECATED - no-op."""
    pass