Skip to content

Commit cf1acf7

Browse files
committed
Update readme
1 parent efb258f commit cf1acf7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ or use command line arguments:
5656
```CSharp
5757
public 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

0 commit comments

Comments
 (0)