Commit bdb23fc
committed
Refactor BotBuilder and enhance TelegramServerBuilder
- Added service registration for IHostApplicationLifetime in BotBuilder.cs to manage application lifetime events.
- Updated documentation for the BotBuilder constructor to clarify its intended use in ASP.NET Core applications.
- Removed previous registration of IHostApplicationLifetime, indicating a refactor of service registrations.
- Introduced UseConfiguration property in TelegramServerBuilder.cs to enhance configurability of the Telegram API base URL.1 parent 14075ec commit bdb23fc
File tree
2 files changed
+6
-2
lines changed- Sources/TelegramBot/Builders
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
189 | | - | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
0 commit comments