Intitial release

This commit is contained in:
John husxdev 2025-04-12 01:40:13 -05:00
parent 299038fbc7
commit fa8caa5116
21 changed files with 1234 additions and 0 deletions

View file

@ -0,0 +1,6 @@
import re
def validate_telegram_token(token: str) -> bool:
# Simple validation - check if it matches the pattern \d{8,10}:[A-Za-z0-9_-]{35}
pattern = r"\d{8,10}:[A-Za-z0-9_-]{35}"
return bool(re.match(pattern, token))