(20250128) Telegram Auth is operational now.

This commit is contained in:
2025-01-28 11:02:15 +05:30
parent 3b8d248d82
commit 48753dd617
5 changed files with 282 additions and 16 deletions
+12
View File
@@ -77,6 +77,18 @@ REGEX_SESSION_TOKEN = r"^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]
class TelegramAuth(BaseModel):
botId: str = Field(
description = "The id of the bot (that can be invoked with '@').",
min_length = 1,
frozen = True
)
botName: str = Field(
description = "The display name of the bot.",
min_length = 1,
frozen = True
)
botToken: str = Field(
description = "the token granted by BotFather",
min_length = 1,