1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-07 09:09:49 +00:00
This commit is contained in:
InsanusMokrassar
2021-09-08 16:48:57 +00:00
parent f8dba56c2e
commit d0a2b96040
13 changed files with 274 additions and 80 deletions

View File

@@ -540,6 +540,26 @@
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command.html">command</a>(commandRegex: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a>, requireOnlyCommandInMessage: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, scenarioReceiver: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command.html">command</a>(command: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, requireOnlyCommandInMessage: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, scenarioReceiver: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="-864166075%2FExtensions%2F-1982836883" anchor-label="commandWithArgs" id="-864166075%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command-with-args.html">commandWithArgs</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-864166075%2FExtensions%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command-with-args.html">commandWithArgs</a>(commandRegex: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a>, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, scenarioReceiver: <a href="../index.html#-1930437658%2FClasslikes%2F-1982836883">BehaviourContextAndTwoTypesReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command-with-args.html">commandWithArgs</a>(command: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, scenarioReceiver: <a href="../index.html#-1930437658%2FClasslikes%2F-1982836883">BehaviourContextAndTwoTypesReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
@@ -840,6 +860,26 @@
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-command.html">onCommand</a>(commandRegex: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a>, requireOnlyCommandInMessage: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, noinline additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, noinline scenarioReceiver: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">inline suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-command.html">onCommand</a>(command: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, requireOnlyCommandInMessage: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, noinline additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, noinline scenarioReceiver: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="1210758403%2FExtensions%2F-1982836883" anchor-label="onCommandWithArgs" id="1210758403%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-command-with-args.html">onCommandWithArgs</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1210758403%2FExtensions%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-command-with-args.html">onCommandWithArgs</a>(commandRegex: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a>, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, noinline additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, noinline scenarioReceiver: <a href="../index.html#-1930437658%2FClasslikes%2F-1982836883">BehaviourContextAndTwoTypesReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">inline suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-command-with-args.html">onCommandWithArgs</a>(command: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, includeFilterByChatInBehaviourSubContext: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, noinline additionalFilter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html#-1990656072%2FClasslikes%2F-1982836883">CommonMessageFilter</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;? = null, markerFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a>&lt;in <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; = ByChatMessageMarkerFactory, noinline scenarioReceiver: <a href="../index.html#-1930437658%2FClasslikes%2F-1982836883">BehaviourContextAndTwoTypesReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a>&lt;<a href="../../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a>&gt;, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt;&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>