<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":dokkaHtml/main"><divclass="symbol monospace"><spanclass="token keyword">class </span><ahref="-commands-keeper/index.html">CommandsKeeper</a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">preset<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="-bot-command-full-info/index.html">BotCommandFullInfo</a><spanclass="token operator">></span><spanclass="token operator"> = </span>emptyList()</span></span><spanclass="token punctuation">)</span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">In memory commands keeper. Contains all the registered commands inside and can be useful in case you wish to <ahref="-commands-keeper/add-command.html">addCommand</a> or <ahref="-commands-keeper/remove-command.html">removeCommand</a></p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":dokkaHtml/main"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation">@</span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-inline/index.html"><spanclass="token annotation">JvmInline</span></a></div></div><spanclass="token keyword">value </span><spanclass="token keyword">class </span><ahref="-commands-keeper-key/index.html">CommandsKeeperKey</a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter "><spanclass="token keyword">val </span>key<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><spanclass="token keyword"></span><spandata-unresolved-link="dev.inmo.tgbotapi.types.commands/BotCommandScope///PointingToDeclaration/">BotCommandScope</span><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token operator">?</span><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">Full info about the command scope including <spandata-unresolved-link="dev.inmo.tgbotapi.types.commands/BotCommandScope///PointingToDeclaration/">BotCommandScope</span> and its optional language code (see <ahref="-commands-keeper-key/language-code.html">languageCode</a> and <ahref="-commands-keeper-key/language-code-ietf.html">languageCodeIetf</a>)</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":dokkaHtml/main"><divclass="symbol monospace"><spanclass="token keyword">object </span><ahref="-commands-plugin/index.html">CommandsPlugin</a> : <spandata-unresolved-link="dev.inmo.plagubot/Plugin///PointingToDeclaration/">Plugin</span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">This plugin has been created for centralized work with commands in context of <spandata-unresolved-link="dev.inmo.plagubot/Plugin///PointingToDeclaration/">Plugin</span>s system of plagubot. Pass <ahref="-bot-command-full-info/index.html">BotCommandFullInfo</a> in your <spandata-unresolved-link="dev.inmo.plagubot/Plugin/setupDI/org.koin.core.module.Module#org.jetbrains.exposed.sql.Database#kotlinx.serialization.json.JsonObject/PointingToDeclaration/">Plugin.setupDI</span> section to declare some command. You may use <ahref="-commands-keeper/index.html">CommandsKeeper</a> for flexible setup of commands in runtime.</p></div></div></div>