Skip to content

Commit

Permalink
deploy: a237a29
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Jul 17, 2024
1 parent 607ebff commit 8e5d303
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Migration-Guide-to-Version-21.x.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h2 id="simplified-polling-with-events-v217"><a class="header" href="#simplified
<p>Note: The second argument to <code>OnMessage</code> events specify which kind of update it was (if it's an <em>edited</em>, <em>channel</em> or <em>business</em> message)</p>
<p>When you assign those events, polling starts automatically, you don't have anything to do.<br />
Polling will stop when you remove (<code>-=</code>) your events, or when you cancel the <a href="#global-cancellation-token-v212">global cancellation token</a></p>
<p>You can also use <code>await bot.DropPendingUpdateAsync()</code> before setting those events in order to ignore past updates.</p>
<p>You can also use <code>await bot.DropPendingUpdatesAsync()</code> before setting those events in order to ignore past updates.</p>
<p>The <a href="https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Console">Console example project</a> has been updated to demonstrate these events.</p>

</main>
Expand Down
2 changes: 1 addition & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -4893,7 +4893,7 @@ <h2 id="simplified-polling-with-events-v217"><a class="header" href="#simplified
<p>Note: The second argument to <code>OnMessage</code> events specify which kind of update it was (if it's an <em>edited</em>, <em>channel</em> or <em>business</em> message)</p>
<p>When you assign those events, polling starts automatically, you don't have anything to do.<br />
Polling will stop when you remove (<code>-=</code>) your events, or when you cancel the <a href="Migration-Guide-to-Version-21.x.html#global-cancellation-token-v212">global cancellation token</a></p>
<p>You can also use <code>await bot.DropPendingUpdateAsync()</code> before setting those events in order to ignore past updates.</p>
<p>You can also use <code>await bot.DropPendingUpdatesAsync()</code> before setting those events in order to ignore past updates.</p>
<p>The <a href="https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Console">Console example project</a> has been updated to demonstrate these events.</p>
<div style="break-before: page; page-break-before: always;"></div><style>
.mdbook-alerts {
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 8e5d303

Please sign in to comment.