(20250128) Telegram Auth is operational now.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user