File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ class FirebaseConfig(_ServiceConfig, pydantic_settings.BaseSettings):
5353 certificate : pydantic .SecretStr | None = None
5454
5555
56+ class TelegramConfig (_ServiceConfig , pydantic_settings .BaseSettings ):
57+ bot_token : pydantic .SecretStr | None = None
58+
59+
5660class SlackConfig (_ServiceConfig , pydantic_settings .BaseSettings ):
5761 channel : str | None = None
5862 token : pydantic .SecretStr | None = None
@@ -63,6 +67,7 @@ class Config(pydantic_settings.BaseSettings):
6367 toast : ToastConfig = pydantic .Field (default_factory = ToastConfig )
6468 firebase : FirebaseConfig = pydantic .Field (default_factory = FirebaseConfig )
6569 slack : SlackConfig = pydantic .Field (default_factory = SlackConfig )
70+ telegram : TelegramConfig = pydantic .Field (default_factory = TelegramConfig )
6671
6772 env_vars : dict [str , str ] = pydantic .Field (default_factory = dict )
6873
You can’t perform that action at this time.
0 commit comments