|
| 1 | +<!doctype html> |
| 2 | +<html class="no-js"> |
| 3 | +<head> |
| 4 | + <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> |
| 5 | + <title>create</title> |
| 6 | +<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"> <!-- 百度统计 --> |
| 7 | + <!--suppress ES6ConvertVarToLetConst --> |
| 8 | + <script> |
| 9 | + var _hmt = _hmt || []; |
| 10 | + (function () { |
| 11 | + const hm = document.createElement("script"); |
| 12 | + hm.src = "https://hm.baidu.com/hm.js?045f67a122223db9432c7856fc942fad"; |
| 13 | + const s = document.getElementsByTagName("script")[0]; |
| 14 | + s.parentNode.insertBefore(hm, s); |
| 15 | + })(); |
| 16 | + </script> |
| 17 | + <!-- Google tag (gtag.js) --> |
| 18 | + <script async src="https://www.googletagmanager.com/gtag/js?id=G-1JWL2DDTB4"></script> |
| 19 | + <script> |
| 20 | + window.dataLayer = window.dataLayer || []; |
| 21 | + function gtag(){dataLayer.push(arguments);} |
| 22 | + gtag('js', new Date()); |
| 23 | + |
| 24 | + gtag('config', 'G-1JWL2DDTB4'); |
| 25 | + </script> |
| 26 | + <script>var pathToRoot = "../../../../";</script> |
| 27 | + <script>document.documentElement.classList.replace("no-js","js");</script> |
| 28 | + <script>const storage = localStorage.getItem("dokka-dark-mode") |
| 29 | + if (storage == null) { |
| 30 | + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches |
| 31 | + if (osDarkSchemePreferred === true) { |
| 32 | + document.getElementsByTagName("html")[0].classList.add("theme-dark") |
| 33 | + } |
| 34 | + } else { |
| 35 | + const savedDarkMode = JSON.parse(storage) |
| 36 | + if(savedDarkMode === true) { |
| 37 | + document.getElementsByTagName("html")[0].classList.add("theme-dark") |
| 38 | + } |
| 39 | + } |
| 40 | + </script> |
| 41 | +<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async></script> |
| 42 | +<script type="text/javascript" src="../../../../scripts/sourceset_dependencies.js" async></script> |
| 43 | +<link href="../../../../styles/style.css" rel="Stylesheet"> |
| 44 | +<link href="../../../../styles/main.css" rel="Stylesheet"> |
| 45 | +<link href="../../../../styles/prism.css" rel="Stylesheet"> |
| 46 | +<link href="../../../../styles/logo-styles.css" rel="Stylesheet"> |
| 47 | +<link href="../../../../styles/font-jb-sans-auto.css" rel="Stylesheet"> |
| 48 | +<link href="../../../../ui-kit/ui-kit.min.css" rel="Stylesheet"> |
| 49 | +<script type="text/javascript" src="../../../../scripts/clipboard.js" async></script> |
| 50 | +<script type="text/javascript" src="../../../../scripts/navigation-loader.js" async></script> |
| 51 | +<script type="text/javascript" src="../../../../scripts/platform-content-handler.js" async></script> |
| 52 | +<script type="text/javascript" src="../../../../scripts/main.js" defer></script> |
| 53 | +<script type="text/javascript" src="../../../../scripts/prism.js" async></script> |
| 54 | +<script type="text/javascript" src="../../../../ui-kit/ui-kit.min.js" defer></script> |
| 55 | +<script type="text/javascript" src="../../../../scripts/symbol-parameters-wrapper_deferred.js" defer></script> |
| 56 | +<link href="../../../../images/logo-icon.svg"> |
| 57 | +<link href="../../../../images/logo-icon-light.svg"> |
| 58 | +<link href="../../../../styles/kdoc-style.css" rel="Stylesheet"></head> |
| 59 | +<body> |
| 60 | + <div class="root"> |
| 61 | + <nav class="navigation theme-dark" id="navigation-wrapper"> |
| 62 | +<a class="library-name--link" href="../../../../index.html"> |
| 63 | + Simple Robot 组件 | KOOK |
| 64 | + </a> <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents |
| 65 | + </button> |
| 66 | + <div class="navigation-controls--break ui-kit_mobile-only"></div> |
| 67 | + <div class="library-version" id="library-version"> |
| 68 | + </div> |
| 69 | + <div class="navigation-controls"> |
| 70 | + <div class="filter-section filter-section_loading" id="filter-section"> |
| 71 | + <button class="platform-tag platform-selector common-like" data-active="" data-filter=":simbot-component-kook-api/commonMain">common</button> |
| 72 | + <div class="dropdown filter-section--dropdown" data-role="dropdown" id="filter-section-dropdown"> |
| 73 | + <button class="button button_dropdown filter-section--dropdown-toggle" role="combobox" data-role="dropdown-toggle" aria-controls="platform-tags-listbox" aria-haspopup="listbox" aria-expanded="false" aria-label="Toggle source sets"></button> |
| 74 | + <ul role="listbox" id="platform-tags-listbox" class="dropdown--list" data-role="dropdown-listbox"> |
| 75 | + <div class="dropdown--header"><span>Platform filter</span> |
| 76 | + <button class="button" data-role="dropdown-toggle" aria-label="Close platform filter"> |
| 77 | + <i class="ui-kit-icon ui-kit-icon_cross"></i> |
| 78 | + </button> |
| 79 | + </div> |
| 80 | + <li role="option" class="dropdown--option platform-selector-option common-like" tabindex="0"> |
| 81 | + <label class="checkbox"> |
| 82 | + <input type="checkbox" class="checkbox--input" id=":simbot-component-kook-api/commonMain" data-filter=":simbot-component-kook-api/commonMain"> |
| 83 | + <span class="checkbox--icon"></span> |
| 84 | + common |
| 85 | + </label> |
| 86 | + </li> |
| 87 | + </ul> |
| 88 | + <div class="dropdown--overlay"></div> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + <a class="navigation-controls--btn navigation-controls--btn_homepage" id="homepage-link" href="https://github.com/simple-robot/simbot-component-kook"></a> |
| 92 | + <button class="navigation-controls--btn navigation-controls--btn_theme" id="theme-toggle-button" type="button">Switch theme |
| 93 | + </button> |
| 94 | + <div class="navigation-controls--btn navigation-controls--btn_search" id="searchBar" role="button">Search in |
| 95 | + API |
| 96 | + </div> |
| 97 | + </div> |
| 98 | + </nav> |
| 99 | + <div id="container"> |
| 100 | + <div class="sidebar" id="leftColumn"> |
| 101 | + <div class="dropdown theme-dark_mobile" data-role="dropdown" id="toc-dropdown"> |
| 102 | + <ul role="listbox" id="toc-listbox" class="dropdown--list dropdown--list_toc-list" data-role="dropdown-listbox"> |
| 103 | + <div class="dropdown--header"> |
| 104 | + <span> |
| 105 | + Simple Robot 组件 | KOOK |
| 106 | + </span> |
| 107 | + <button class="button" data-role="dropdown-toggle" aria-label="Close table of contents"> |
| 108 | + <i class="ui-kit-icon ui-kit-icon_cross"></i> |
| 109 | + </button> |
| 110 | + </div> |
| 111 | + <div class="sidebar--inner" id="sideMenu"></div> |
| 112 | + </ul> |
| 113 | + <div class="dropdown--overlay"></div> |
| 114 | + </div> |
| 115 | + </div> |
| 116 | + <div id="main"> |
| 117 | +<div class="main-content" data-page-type="member" id="content" pageids="simbot-component-kook-api::love.forte.simbot.kook.api.channel/ChannelKickoutApi.Factory/create/#kotlin.String#kotlin.String/PointingToDeclaration//-1714407821"> |
| 118 | + <div class="breadcrumbs"><a href="../../../index.html">simbot-component-kook-api</a><span class="delimiter">/</span><a href="../../index.html">love.forte.simbot.kook.api.channel</a><span class="delimiter">/</span><a href="../index.html">ChannelKickoutApi</a><span class="delimiter">/</span><a href="index.html">Factory</a><span class="delimiter">/</span><span class="current">create</span></div> |
| 119 | + <div class="cover "> |
| 120 | + <h1 class="cover"><span><span>create</span></span></h1> |
| 121 | + </div> |
| 122 | + <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":simbot-component-kook-api/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-static/index.html"><span class="token annotation builtin">JvmStatic</span></a></div></div><span class="token keyword">fun </span><a href="create.html"><span class="token function">create</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">channelId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">userId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html">ChannelKickoutApi</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/simple-robot/simbot-component-kook/tree/dev/main/simbot-component-kook-api/src/commonMain/kotlin/love/forte/simbot/kook/api/channel/ChannelKickoutApi.kt#L52">source</a>)</span></span></div><p class="paragraph">构造 <a href="../index.html">ChannelKickoutApi</a>.</p><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":simbot-component-kook-api/commonMain" data-filterable-set=":simbot-component-kook-api/commonMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span>channel</span><wbr><span><span>Id</span></span></u></div></span></div><div><div class="title"><p class="paragraph">目标频道 id,需要是语音频道</p></div></div></div></div><div class="table-row" data-filterable-current=":simbot-component-kook-api/commonMain" data-filterable-set=":simbot-component-kook-api/commonMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span>user</span><wbr><span><span>Id</span></span></u></div></span></div><div><div class="title"><p class="paragraph">用户 id</p></div></div></div></div></div></div></div> |
| 123 | +</div> |
| 124 | + <div class="footer"> |
| 125 | + <a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a> |
| 126 | + <span>© 2024-2025 <a href="https://github.com/simple-robot">Simple Robot</a>. All rights reserved.</span> |
| 127 | + <span class="pull-right"> |
| 128 | + <span>Generated by </span> |
| 129 | + <a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka"> |
| 130 | + <span>dokka</span> |
| 131 | + </a> |
| 132 | + </span> |
| 133 | + </div> |
| 134 | + </div> |
| 135 | + </div> |
| 136 | + </div> |
| 137 | +</body> |
| 138 | +</html> |
0 commit comments