| 1 | namespace TelegramNotifier; |
| 2 | |
| 3 | /// <summary> |
| 4 | /// Holder for config and TelegramManager, set once after login before running any command. |
| 5 | /// </summary> |
| 6 | internal static class RunContext |
| 7 | { |
| 8 | public static ConfigurationAccessor Config { get; set; } = null!; |
| 9 | public static TelegramManager TelegramManager { get; set; } = null!; |
| 10 | } |
| 11 |