Skip to content

Commit

Permalink
little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Jul 17, 2024
1 parent ed4ea1a commit a237a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Migration-Guide-to-Version-21.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ Note: The second argument to `OnMessage` events specify which kind of update it
When you assign those events, polling starts automatically, you don't have anything to do.
Polling will stop when you remove (`-=`) your events, or when you cancel the [global cancellation token](#global-cancellation-token-v212)
You can also use `await bot.DropPendingUpdateAsync()` before setting those events in order to ignore past updates.
You can also use `await bot.DropPendingUpdatesAsync()` before setting those events in order to ignore past updates.
The [Console example project](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Console) has been updated to demonstrate these events.

0 comments on commit a237a29

Please sign in to comment.