File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,10 @@ or use command line arguments:
5656``` CSharp
5757public class CommandController (ILogger <CommandController > _logger ) : BotControllerBase
5858{
59- [BotCommand (" /start" )]
60- public async Task < IActionResult > HandleStartAsync ()
59+ [TextCommand (" /start" )]
60+ public IActionResult HandleStartAsync ()
6161 {
6262 _logger .LogInformation (" Start command received." );
63- await Task .Delay (1000 );
6463 return Text (" Hello!" );
6564 }
6665}
@@ -120,7 +119,7 @@ public async Task<IActionResult> HandleStartAsync()
120119 - [ ] Delete
121120 - [ ] Redirect
122121- [ ] Implement language dictionary service
123- - [ ] Implement router for inline query
122+ - [x ] Implement router for inline query
124123- [ ] Inject user model in base controller
125124- [ ] Add user state service
126125
You can’t perform that action at this time.
0 commit comments