Skip to content

Commit a720b3a

Browse files
committed
Improve comments in ServiceCollectionExtensions class
Updated method documentation to clarify how to register controllers separately using IBot.MapControllers. Added HTML line breaks for better readability.
1 parent 1d1d453 commit a720b3a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Sources/TelegramBot/Extensions/ServiceCollectionExtensions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ namespace TelegramBot.Extensions
1212
public static class ServiceCollectionExtensions
1313
{
1414
/// <summary>
15-
/// Register commands for the bot. This method only registers the commands in Telegram UI.
16-
/// Controllers should be registered separately. You can use commands even without this method.
15+
/// Register commands for the bot. This method only registers the commands in Telegram UI. <br/>
16+
/// Controllers should be registered separately with <see cref="IBot.MapControllers"/> <br/>
17+
/// You can use commands even without this method.
1718
/// </summary>
1819
/// <param name="services">The service collection.</param>
1920
/// <param name="setup">The setup for the command registration.</param>

0 commit comments

Comments
 (0)