8 lines
239 B
Python
8 lines
239 B
Python
from pydantic import BaseModel
|
|
|
|
from .enums import TelegramBotMethodEnum
|
|
|
|
|
|
class TelegramBotSettings(BaseModel):
|
|
method: TelegramBotMethodEnum = TelegramBotMethodEnum.POLLING
|
|
token: str = "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" |