1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-11-15 11:30:19 +00:00
This commit is contained in:
InsanusMokrassar
2025-08-11 10:02:41 +00:00
parent ed39af12b6
commit 805ef5690d
53 changed files with 2955 additions and 823 deletions

View File

@@ -95,7 +95,7 @@
<div class="cover ">
<h1 class="cover"><span>do</span><wbr><span>In</span><wbr><span><span>Context</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><a href="do-in-context.html">T</a><span class="token punctuation">, </span><a href="do-in-context.html">BC</a><span class="token operator"> : </span><a href="-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="do-in-context.html">BC</a><span class="token punctuation">.</span><a href="do-in-context.html"><span class="token function">doInContext</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">behaviourContextReceiver<span class="token operator">: </span><a href="-custom-behaviour-context-receiver/index.html">CustomBehaviourContextReceiver</a><span class="token operator">&lt;</span><a href="do-in-context.html">BC</a><span class="token punctuation">, </span><a href="do-in-context.html">T</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="do-in-context.html">T</a></div><p class="paragraph">Launch <a href="do-in-context.html">behaviourContextReceiver</a> in context of <a href="../../tgbotapi.behaviour_builder/dev.inmo.tgbotapi.extensions.behaviour_builder/index.html">this</a> as <a href="-behaviour-context/index.html">BehaviourContext</a> and as <a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html">kotlin.coroutines.CoroutineContext</a></p><p class="paragraph"><a href="-behaviour-context/index.html">this</a> will <strong>NOT</strong> be closed automatically</p></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><a href="do-in-context.html">T</a><span class="token punctuation">, </span><a href="do-in-context.html">BC</a><span class="token operator"> : </span><a href="-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="do-in-context.html">BC</a><span class="token punctuation">.</span><a href="do-in-context.html"><span class="token function">doInContext</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">behaviourContextReceiver<span class="token operator">: </span><a href="-custom-behaviour-context-receiver/index.html">CustomBehaviourContextReceiver</a><span class="token operator">&lt;</span><a href="do-in-context.html">BC</a><span class="token punctuation">, </span><a href="do-in-context.html">T</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="do-in-context.html">T</a></div><p class="paragraph">Launch <a href="do-in-context.html">behaviourContextReceiver</a> in context of <a href="../../tgbotapi.behaviour_builder/dev.inmo.tgbotapi.extensions.behaviour_builder/index.html">this</a> as <a href="-behaviour-context/index.html">BehaviourContext</a> and as <a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html">CoroutineContext</a></p><p class="paragraph"><a href="-behaviour-context/index.html">this</a> will <strong>NOT</strong> be closed automatically</p></div></div>
</div>
<div class="footer">
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>