mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
64 lines
80 KiB
HTML
64 lines
80 KiB
HTML
<!doctype html>
|
||
<html lang="zh-CN" data-theme="light">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||
<meta name="generator" content="VuePress 2.0.0-beta.67" />
|
||
<meta name="theme" content="VuePress Theme Hope" />
|
||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><script async src="https://umami.zhenxin.me/script.js" data-website-id="a3220f2d-2267-4b95-b4aa-a5964cda0a0d"></script><link rel="icon" href="/OpenShamrock/shamrock.webp"><title>群聊相关 | OpenShamrock</title><meta name="description" content="">
|
||
<style>
|
||
:root {
|
||
--bg-color: #fff;
|
||
}
|
||
|
||
html[data-theme="dark"] {
|
||
--bg-color: #1d1e1f;
|
||
}
|
||
|
||
html,
|
||
body {
|
||
background: var(--bg-color);
|
||
}
|
||
</style>
|
||
<script>
|
||
const userMode = localStorage.getItem("vuepress-theme-hope-scheme");
|
||
const systemDarkMode =
|
||
window.matchMedia &&
|
||
window.matchMedia("(prefers-color-scheme: dark)").matches;
|
||
|
||
if (userMode === "dark" || (userMode !== "light" && systemDarkMode)) {
|
||
document.documentElement.setAttribute("data-theme", "dark");
|
||
}
|
||
</script>
|
||
<link rel="preload" href="/OpenShamrock/assets/style-842f0c71.css" as="style"><link rel="stylesheet" href="/OpenShamrock/assets/style-842f0c71.css">
|
||
<link rel="modulepreload" href="/OpenShamrock/assets/app-e0095480.js"><link rel="modulepreload" href="/OpenShamrock/assets/group.html-88befc49.js"><link rel="modulepreload" href="/OpenShamrock/assets/plugin-vue_export-helper-c27b6911.js"><link rel="modulepreload" href="/OpenShamrock/assets/group.html-ec66990a.js"><link rel="prefetch" href="/OpenShamrock/assets/index.html-7ea406c2.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-f5c92ed1.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/voice.html-e8e18946.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-258d0d5f.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/general-data.html-b027dcd6.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/message.html-0ca9d8ee.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/notice.html-5519df6e.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/request.html-0743679e.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-983e0a4a.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/account.html-90bd473f.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/contact.html-3cff63b3.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/dispose.html-102b9d52.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/fav.html-20a3b00e.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/file.html-dfe880a4.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/guild.html-6966c300.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/message.html-01bc5fb8.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/other.html-32d2e4de.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/request-response.html-2fa1a2de.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/resources.html-205eae6c.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/shamrock.html-93415924.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/user.html-e225e670.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-0199c0aa.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/configuration.html-eb910716.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/faq.html-b8980499.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/getting-started.html-717781e9.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-2510ab56.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/advanced.html-cf16f849.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/format.html-2e24f616.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/media.html-5b7447ab.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/normal.html-a29eb19d.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/special.html-2e3560dc.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/404.html-f04ced3e.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-82bb9cb2.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-27855498.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/voice.html-430951ec.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-bde65a9c.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/general-data.html-149dffbc.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/message.html-567cf616.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/notice.html-c1382a10.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/request.html-b3bc3192.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-94afd1df.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/account.html-50171750.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/contact.html-955c8c7e.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/dispose.html-aa43dd9b.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/fav.html-af222ac6.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/file.html-fc7de549.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/guild.html-79376133.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/message.html-1c3957a0.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/other.html-5cfa1b52.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/request-response.html-38b3e006.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/resources.html-79c74429.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/shamrock.html-e168e5e6.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/user.html-248dbc66.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-140dedb8.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/configuration.html-ba1a7bcd.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/faq.html-18ddfefb.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/getting-started.html-20859108.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/index.html-bd81cec9.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/advanced.html-9f0a3c6c.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/format.html-f69160c6.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/media.html-8c5ade33.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/normal.html-a0a3103e.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/special.html-006a5f2e.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/404.html-47704f15.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/photoswipe.esm-5762295a.js" as="script"><link rel="prefetch" href="/OpenShamrock/assets/SearchResult-76df690b.js" as="script">
|
||
</head>
|
||
<body>
|
||
<div id="app"><!--[--><!--[--><!--[--><span tabindex="-1"></span><a href="#main-content" class="vp-skip-link sr-only">跳至主要內容</a><!--]--><!--[--><div class="theme-container has-toc"><!--[--><header id="navbar" class="vp-navbar"><div class="vp-navbar-start"><button type="button" class="vp-toggle-sidebar-button" title="Toggle Sidebar"><span class="icon"></span></button><!--[--><!----><!--]--><!--[--><a class="vp-link vp-brand vp-brand" href="/OpenShamrock/"><img class="vp-nav-logo" src="/OpenShamrock/shamrock.webp" alt="OpenShamrock"><!----><span class="vp-site-name hide-in-pad">OpenShamrock</span></a><!--]--><!--[--><!----><!--]--></div><div class="vp-navbar-center"><!--[--><!----><!--]--><!--[--><nav class="vp-nav-links"><div class="nav-item hide-in-mobile"><a aria-label="指南" class="vp-link nav-link nav-link" href="/OpenShamrock/guide.html"><span class="font-icon icon fa-fw fa-sm fas fa-lightbulb" style=""></span>指南<!----></a></div><div class="nav-item hide-in-mobile"><a aria-label="进阶" class="vp-link nav-link nav-link" href="/OpenShamrock/advanced.html"><span class="font-icon icon fa-fw fa-sm fas fa-gem" style=""></span>进阶<!----></a></div><div class="nav-item hide-in-mobile"><a aria-label="接口" class="vp-link nav-link active nav-link active" href="/OpenShamrock/api.html"><span class="font-icon icon fa-fw fa-sm fas fa-laptop-code" style=""></span>接口<!----></a></div><div class="nav-item hide-in-mobile"><a aria-label="消息" class="vp-link nav-link nav-link" href="/OpenShamrock/message.html"><span class="font-icon icon fa-fw fa-sm fas fa-comment" style=""></span>消息<!----></a></div><div class="nav-item hide-in-mobile"><a aria-label="事件" class="vp-link nav-link nav-link" href="/OpenShamrock/event.html"><span class="font-icon icon fa-fw fa-sm fas fa-bell" style=""></span>事件<!----></a></div></nav><!--]--><!--[--><!----><!--]--></div><div class="vp-navbar-end"><!--[--><!----><!--]--><!--[--><!----><div class="nav-item vp-repo"><a class="vp-repo-link" href="https://github.com/whitechi73/OpenShamrock" target="_blank" rel="noopener noreferrer" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="icon github-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="github icon" style="width:1.25rem;height:1.25rem;vertical-align:middle;"><path d="M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"></path></svg></a></div><div class="nav-item hide-in-mobile"><button type="button" id="appearance-switch"><svg xmlns="http://www.w3.org/2000/svg" class="icon auto-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="auto icon" style="display:block;"><path d="M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" class="icon dark-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="dark icon" style="display:none;"><path d="M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" class="icon light-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="light icon" style="display:none;"><path d="M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"></path></svg></button></div><!--[--><button type="button" class="search-pro-button" role="search" aria-label="搜索"><svg xmlns="http://www.w3.org/2000/svg" class="icon search-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="search icon"><path d="M192 480a256 256 0 1 1 512 0 256 256 0 0 1-512 0m631.776 362.496-143.2-143.168A318.464 318.464 0 0 0 768 480c0-176.736-143.264-320-320-320S128 303.264 128 480s143.264 320 320 320a318.016 318.016 0 0 0 184.16-58.592l146.336 146.368c12.512 12.48 32.768 12.48 45.28 0 12.48-12.512 12.48-32.768 0-45.28"></path></svg><div class="search-pro-placeholder">搜索</div><!----></button><!--]--><!--]--><!--[--><!----><!--]--><button type="button" class="vp-toggle-navbar-button" aria-label="Toggle Navbar" aria-expanded="false" aria-controls="nav-screen"><span><span class="vp-top"></span><span class="vp-middle"></span><span class="vp-bottom"></span></span></button></div></header><!----><!--]--><!----><div class="toggle-sidebar-wrapper"><span class="arrow start"></span></div><aside id="sidebar" class="vp-sidebar"><!--[--><!----><!--]--><ul class="vp-sidebar-links"><li><section class="vp-sidebar-group"><button class="vp-sidebar-heading clickable" type="button"><span class="font-icon icon fa-fw fa-sm fas fa-lightbulb" style=""></span><span class="vp-sidebar-title">指南</span><span class="vp-arrow end"></span></button><!----></section></li><li><section class="vp-sidebar-group"><button class="vp-sidebar-heading clickable" type="button"><span class="font-icon icon fa-fw fa-sm fas fa-gem" style=""></span><span class="vp-sidebar-title">进阶</span><span class="vp-arrow end"></span></button><!----></section></li><li><section class="vp-sidebar-group"><button class="vp-sidebar-heading clickable active" type="button"><span class="font-icon icon fa-fw fa-sm fas fa-laptop-code" style=""></span><span class="vp-sidebar-title">接口</span><span class="vp-arrow down"></span></button><ul class="vp-sidebar-links"><li><!--[--><a aria-label="请求与响应" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/request-response.html"><span class="font-icon icon fa-fw fa-sm fas fa-server" style=""></span>请求与响应<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="账号相关" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/account.html"><span class="font-icon icon fa-fw fa-sm fas fa-user" style=""></span>账号相关<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="联系人相关" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/contact.html"><span class="font-icon icon fa-fw fa-sm fas fa-address-book" style=""></span>联系人相关<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="用户相关" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/user.html"><span class="font-icon icon fa-fw fa-sm fas fa-users" style=""></span>用户相关<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="消息相关" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/message.html"><span class="font-icon icon fa-fw fa-sm fas fa-comment" style=""></span>消息相关<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="资源相关" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/resources.html"><span class="font-icon icon fa-fw fa-sm fas fa-video-camera" style=""></span>资源相关<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="处理相关" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/dispose.html"><span class="font-icon icon fa-fw fa-sm fas fa-bowling-ball" style=""></span>处理相关<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="群聊相关" class="vp-link nav-link active vp-sidebar-link vp-sidebar-page active nav-link active vp-sidebar-link vp-sidebar-page active" href="/OpenShamrock/api/group.html"><span class="font-icon icon fa-fw fa-sm fas fa-user-group" style=""></span>群聊相关<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="设置群名" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置群名"><!---->设置群名<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="设置群头像" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置群头像"><!---->设置群头像<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-1"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-1"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="设置群管理员" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置群管理员"><!---->设置群管理员<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-2"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-2"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-1"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="设置群名片" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置群名片"><!---->设置群名片<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-3"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-3"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="设置群聊备注" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置群聊备注"><!---->设置群聊备注<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-4"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-4"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="设置群组专属头衔" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置群组专属头衔"><!---->设置群组专属头衔<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-5"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-5"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-2"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="群单人禁言" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#群单人禁言"><!---->群单人禁言<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-6"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-6"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-3"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="群全员禁言" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#群全员禁言"><!---->群全员禁言<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-7"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-7"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-4"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="设置精华消息" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置精华消息"><!---->设置精华消息<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-8"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-8"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="移出精华消息" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#移出精华消息"><!---->移出精华消息<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-9"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-9"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="群打卡" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#群打卡"><!---->群打卡<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-10"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-10"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-5"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="发送群公告" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#发送群公告"><!---->发送群公告<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-11"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-11"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-6"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="获取群公告" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#获取群公告"><!---->获取群公告<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-12"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-12"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应数据" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应数据"><!---->响应数据<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="群组踢人" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#群组踢人"><!---->群组踢人<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-13"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-13"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-7"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="退出群组" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#退出群组"><!---->退出群组<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-14"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-14"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-8"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="群戳一戳" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#群戳一戳"><!---->群戳一戳<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-15"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-15"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-9"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="获取被禁言的群成员列表" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#获取被禁言的群成员列表"><!---->获取被禁言的群成员列表<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api端点"><!---->API端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-16"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-10"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="获取群 @全体成员 剩余次数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#获取群-全体成员-剩余次数"><!---->获取群 @全体成员 剩余次数<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api端点-1"><!---->API端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-17"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-11"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li><li class="vp-sidebar-sub-header"><a aria-label="设置消息底部评论小表情" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#设置消息底部评论小表情"><!---->设置消息底部评论小表情<!----></a><ul class="vp-sidebar-sub-headers"><li class="vp-sidebar-sub-header"><a aria-label="API 端点" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#api-端点-16"><!---->API 端点<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="参数" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#参数-18"><!---->参数<!----></a><ul class="vp-sidebar-sub-headers"></ul></li><li class="vp-sidebar-sub-header"><a aria-label="响应" class="vp-link nav-link vp-sidebar-link vp-heading nav-link vp-sidebar-link vp-heading" href="/OpenShamrock/api/group.html#响应-12"><!---->响应<!----></a><ul class="vp-sidebar-sub-headers"></ul></li></ul></li></ul><!--]--></li><li><!--[--><a aria-label="文件相关" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/file.html"><span class="font-icon icon fa-fw fa-sm fas fa-file" style=""></span>文件相关<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="Shamrock 接口" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/shamrock.html"><span class="font-icon icon fa-fw fa-sm fas fa-feather-alt" style=""></span>Shamrock 接口<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li><li><!--[--><a aria-label="其他接口" class="vp-link nav-link vp-sidebar-link vp-sidebar-page nav-link vp-sidebar-link vp-sidebar-page" href="/OpenShamrock/api/other.html"><span class="font-icon icon fa-fw fa-sm fas fa-feather-alt" style=""></span>其他接口<!----></a><ul class="vp-sidebar-sub-headers"></ul><!--]--></li></ul></section></li><li><section class="vp-sidebar-group"><button class="vp-sidebar-heading clickable" type="button"><span class="font-icon icon fa-fw fa-sm fas fa-comment" style=""></span><span class="vp-sidebar-title">消息</span><span class="vp-arrow end"></span></button><!----></section></li><li><section class="vp-sidebar-group"><button class="vp-sidebar-heading clickable" type="button"><span class="font-icon icon fa-fw fa-sm fas fa-bell" style=""></span><span class="vp-sidebar-title">事件</span><span class="vp-arrow end"></span></button><!----></section></li></ul><!--[--><!----><!--]--></aside><!--[--><main id="main-content" class="vp-page"><!--[--><!----><!----><nav class="vp-breadcrumb disable"></nav><div class="vp-page-title"><h1><span class="font-icon icon fa-fw fa-sm fas fa-user-group" style=""></span>群聊相关</h1><div class="page-info"><!----><!----><span class="page-date-info" aria-label="写作日期📅" data-balloon-pos="down"><svg xmlns="http://www.w3.org/2000/svg" class="icon calendar-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="calendar icon"><path d="M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"></path></svg><span><!----></span><meta property="datePublished" content="2023-10-28T03:41:51.000Z"></span><!----><span class="page-reading-time-info" aria-label="阅读时间⌛" data-balloon-pos="down"><svg xmlns="http://www.w3.org/2000/svg" class="icon timer-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="timer icon"><path d="M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"></path></svg><span>大约 5 分钟</span><meta property="timeRequired" content="PT5M"></span><!----><!----></div><hr></div><div class="toc-place-holder"><aside id="toc"><!--[--><!----><!--]--><div class="toc-header">此页内容<button type="button" class="print-button" title="打印"><svg xmlns="http://www.w3.org/2000/svg" class="icon print-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="print icon"><path d="M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"></path></svg></button></div><div class="toc-wrapper"><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置群名">设置群名</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置群头像">设置群头像</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-1">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-1">参数</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置群管理员">设置群管理员</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-2">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-2">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-1">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置群名片">设置群名片</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-3">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-3">参数</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置群聊备注">设置群聊备注</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-4">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-4">参数</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置群组专属头衔">设置群组专属头衔</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-5">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-5">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-2">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#群单人禁言">群单人禁言</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-6">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-6">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-3">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#群全员禁言">群全员禁言</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-7">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-7">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-4">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置精华消息">设置精华消息</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-8">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-8">参数</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#移出精华消息">移出精华消息</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-9">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-9">参数</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#群打卡">群打卡</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-10">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-10">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-5">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#发送群公告">发送群公告</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-11">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-11">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-6">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#获取群公告">获取群公告</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-12">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-12">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应数据">响应数据</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#群组踢人">群组踢人</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-13">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-13">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-7">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#退出群组">退出群组</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-14">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-14">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-8">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#群戳一戳">群戳一戳</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-15">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-15">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-9">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#获取被禁言的群成员列表">获取被禁言的群成员列表</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api端点">API端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-16">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-10">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#获取群-全体成员-剩余次数">获取群 @全体成员 剩余次数</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api端点-1">API端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-17">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-11">响应</a></li><!----><!--]--></ul></li><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level2 toc-link level2" href="/OpenShamrock/#设置消息底部评论小表情">设置消息底部评论小表情</a></li><li><ul class="toc-list"><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#api-端点-16">API 端点</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#参数-18">参数</a></li><!----><!--]--><!--[--><li class="toc-item"><a class="vp-link toc-link level3 toc-link level3" href="/OpenShamrock/#响应-12">响应</a></li><!----><!--]--></ul></li><!--]--></ul><div class="toc-marker" style="top:-1.7rem;"></div></div><!--[--><!----><!--]--></aside></div><!----><div class="theme-hope-content"><div class="hint-container warning"><p class="hint-container-title">注意</p><p>对于 Shamrock 尚未实现的 API,会在标题添加标记 <span class="vp-badge danger" style="vertical-align:baseline;">未实现</span></p></div><h2 id="设置群名" tabindex="-1"><a class="header-anchor" href="#设置群名" aria-hidden="true">#</a> 设置群名</h2><p>该接口用于设置群名。</p><h3 id="api-端点" tabindex="-1"><a class="header-anchor" href="#api-端点" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_name</code></p><h3 id="参数" tabindex="-1"><a class="header-anchor" href="#参数" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段名</th><th>数据类型</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>群号</td></tr><tr><td>group_name</td><td>string</td><td>新群名</td></tr></tbody></table><div class="hint-container tip"><p class="hint-container-title">提示</p><p>该 API 无响应数据</p></div><h3 id="响应" tabindex="-1"><a class="header-anchor" href="#响应" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p><h2 id="设置群头像" tabindex="-1"><a class="header-anchor" href="#设置群头像" aria-hidden="true">#</a> 设置群头像 <span class="vp-badge danger" style="">未实现</span></h2><p>该接口用于设置群头像。</p><h3 id="api-端点-1" tabindex="-1"><a class="header-anchor" href="#api-端点-1" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_portrait</code></p><h3 id="参数-1" tabindex="-1"><a class="header-anchor" href="#参数-1" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>群号</td></tr><tr><td>file</td><td>string</td><td>图片文件名</td></tr><tr><td>cache</td><td>int</td><td>表示是否使用已缓存的文件</td></tr></tbody></table><p>[1] <code>file</code> <strong>参数</strong>支持以下几种格式:</p><ul><li>绝对路径, 例如 <code>file:///sdcard/Pictures/shamrock.png</code>, 格式使用 <a href="https://tools.ietf.org/html/rfc8089" target="_blank" rel="noopener noreferrer"><code>file</code> URI<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a></li><li>网络 URL, 例如 <code>http://i1.piimg.com/567571/fdd6e7b6d93f1ef0.jpg</code></li><li>Base64 编码, 例如 <code>base64://iVBORw0KGgoAAAANSUhEUgAAABQAAAAVCAIAAADJt1n/AAAAKElEQVQ4EWPk5+RmIBcwkasRpG9UM4mhNxpgowFGMARGEwnBIEJVAAAdBgBNAZf+QAAAAABJRU5ErkJggg==</code></li></ul><p>[2] <code>cache</code><strong>参数</strong>: 通过网络 URL 发送时有效, <code>1</code>表示使用缓存, <code>0</code>关闭关闭缓存, 默认 为<code>1</code></p><h2 id="设置群管理员" tabindex="-1"><a class="header-anchor" href="#设置群管理员" aria-hidden="true">#</a> 设置群管理员</h2><p>该接口用于设置群管理员。</p><h3 id="api-端点-2" tabindex="-1"><a class="header-anchor" href="#api-端点-2" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_admin</code></p><h3 id="参数-2" tabindex="-1"><a class="header-anchor" href="#参数-2" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr><tr><td>user_id</td><td>int64</td><td>是</td><td>QQ 号</td></tr><tr><td>enable</td><td>bool</td><td>是</td><td>是否设置</td></tr></tbody></table><h3 id="响应-1" tabindex="-1"><a class="header-anchor" href="#响应-1" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p><h2 id="设置群名片" tabindex="-1"><a class="header-anchor" href="#设置群名片" aria-hidden="true">#</a> 设置群名片</h2><p>该接口用于设置群成员名片。</p><h3 id="api-端点-3" tabindex="-1"><a class="header-anchor" href="#api-端点-3" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_card</code></p><h3 id="参数-3" tabindex="-1"><a class="header-anchor" href="#参数-3" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段名</th><th>数据类型</th><th>默认值</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>-</td><td>群号</td></tr><tr><td>user_id</td><td>int64</td><td>-</td><td>要设置的 QQ 号</td></tr><tr><td>card</td><td>string</td><td>空</td><td>群名片内容, 不填或空字符串表示删除群名片</td></tr></tbody></table><div class="hint-container tip"><p class="hint-container-title">提示</p><p>该 API 无响应数据</p></div><h2 id="设置群聊备注" tabindex="-1"><a class="header-anchor" href="#设置群聊备注" aria-hidden="true">#</a> 设置群聊备注</h2><p>该接口用于设置群聊备注。</p><h3 id="api-端点-4" tabindex="-1"><a class="header-anchor" href="#api-端点-4" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_remark</code></p><h3 id="参数-4" tabindex="-1"><a class="header-anchor" href="#参数-4" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段名</th><th>数据类型</th><th>默认值</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>-</td><td>群号</td></tr><tr><td>remark</td><td>string</td><td>空</td><td>群备注, 不填或空字符串表示删除群备注</td></tr></tbody></table><div class="hint-container tip"><p class="hint-container-title">提示</p><p>该 API 无响应数据</p></div><h2 id="设置群组专属头衔" tabindex="-1"><a class="header-anchor" href="#设置群组专属头衔" aria-hidden="true">#</a> 设置群组专属头衔</h2><p>该接口用于设置群组专属头衔。</p><h3 id="api-端点-5" tabindex="-1"><a class="header-anchor" href="#api-端点-5" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_special_title</code></p><h3 id="参数-5" tabindex="-1"><a class="header-anchor" href="#参数-5" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr><tr><td>user_id</td><td>int64</td><td>是</td><td>QQ 号</td></tr><tr><td>special_title</td><td>string</td><td>是</td><td>头衔</td></tr></tbody></table><h3 id="响应-2" tabindex="-1"><a class="header-anchor" href="#响应-2" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p><h2 id="群单人禁言" tabindex="-1"><a class="header-anchor" href="#群单人禁言" aria-hidden="true">#</a> 群单人禁言</h2><p>该接口用于群单人禁言。</p><h3 id="api-端点-6" tabindex="-1"><a class="header-anchor" href="#api-端点-6" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_ban</code></p><h3 id="参数-6" tabindex="-1"><a class="header-anchor" href="#参数-6" aria-hidden="true">#</a> 参数</h3><div class="hint-container tip"><p class="hint-container-title">提示</p><p>当 <code>duration</code> 为 <code>0</code> 时,将解除禁言。</p></div><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr><tr><td>user_id</td><td>int64</td><td>是</td><td>QQ 号</td></tr><tr><td>duration</td><td>int64</td><td>是</td><td>禁言时长</td></tr></tbody></table><h3 id="响应-3" tabindex="-1"><a class="header-anchor" href="#响应-3" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p><h2 id="群全员禁言" tabindex="-1"><a class="header-anchor" href="#群全员禁言" aria-hidden="true">#</a> 群全员禁言</h2><p>该接口用于群全员禁言。</p><h3 id="api-端点-7" tabindex="-1"><a class="header-anchor" href="#api-端点-7" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_whole_ban</code></p><h3 id="参数-7" tabindex="-1"><a class="header-anchor" href="#参数-7" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段名</th><th>数据类型</th><th>默认值</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>-</td><td>群号</td></tr><tr><td>enable</td><td>boolean</td><td><code>true</code></td><td>是否禁言</td></tr></tbody></table><div class="hint-container tip"><p class="hint-container-title">提示</p><p>该 API 无响应数据</p></div><h3 id="响应-4" tabindex="-1"><a class="header-anchor" href="#响应-4" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p><h2 id="设置精华消息" tabindex="-1"><a class="header-anchor" href="#设置精华消息" aria-hidden="true">#</a> 设置精华消息</h2><p>该接口用于设置精华消息。</p><h3 id="api-端点-8" tabindex="-1"><a class="header-anchor" href="#api-端点-8" aria-hidden="true">#</a> API 端点</h3><p><code>/set_essence_msg</code></p><h3 id="参数-8" tabindex="-1"><a class="header-anchor" href="#参数-8" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>message_id</td><td>int32</td><td>消息ID</td></tr></tbody></table><div class="hint-container tip"><p class="hint-container-title">提示</p><p>该 API 没有响应数据</p></div><h2 id="移出精华消息" tabindex="-1"><a class="header-anchor" href="#移出精华消息" aria-hidden="true">#</a> 移出精华消息</h2><p>该接口用于移出精华消息。</p><h3 id="api-端点-9" tabindex="-1"><a class="header-anchor" href="#api-端点-9" aria-hidden="true">#</a> API 端点</h3><p><code>/delete_essence_msg</code></p><h3 id="参数-9" tabindex="-1"><a class="header-anchor" href="#参数-9" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>message_id</td><td>int32</td><td>消息ID</td></tr></tbody></table><div class="hint-container tip"><p class="hint-container-title">提示</p><p>该 API 没有响应数据</p></div><h2 id="群打卡" tabindex="-1"><a class="header-anchor" href="#群打卡" aria-hidden="true">#</a> 群打卡</h2><p>该接口用于群打卡。</p><h3 id="api-端点-10" tabindex="-1"><a class="header-anchor" href="#api-端点-10" aria-hidden="true">#</a> API 端点</h3><p><code>/send_group_sign</code></p><h3 id="参数-10" tabindex="-1"><a class="header-anchor" href="#参数-10" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段名</th><th>数据类型</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>群号</td></tr></tbody></table><h3 id="响应-5" tabindex="-1"><a class="header-anchor" href="#响应-5" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。</p><h2 id="发送群公告" tabindex="-1"><a class="header-anchor" href="#发送群公告" aria-hidden="true">#</a> 发送群公告</h2><p>该接口用于发送群公告。</p><h3 id="api-端点-11" tabindex="-1"><a class="header-anchor" href="#api-端点-11" aria-hidden="true">#</a> API 端点</h3><p><code>/_send_group_notice</code></p><h3 id="参数-11" tabindex="-1"><a class="header-anchor" href="#参数-11" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段名</th><th>数据类型</th><th>默认值</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td></td><td>群号</td></tr><tr><td>content</td><td>string</td><td></td><td>公告内容</td></tr><tr><td>image</td><td>string</td><td></td><td>图片(可选),支持base64、http(s)和本地路径</td></tr></tbody></table><h3 id="响应-6" tabindex="-1"><a class="header-anchor" href="#响应-6" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。</p><h2 id="获取群公告" tabindex="-1"><a class="header-anchor" href="#获取群公告" aria-hidden="true">#</a> 获取群公告</h2><p>该接口用于获取群公告。</p><h3 id="api-端点-12" tabindex="-1"><a class="header-anchor" href="#api-端点-12" aria-hidden="true">#</a> API 端点</h3><p><code>/_get_group_notice</code></p><h3 id="参数-12" tabindex="-1"><a class="header-anchor" href="#参数-12" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段名</th><th>数据类型</th><th>默认值</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td></td><td>群号</td></tr></tbody></table><h3 id="响应数据" tabindex="-1"><a class="header-anchor" href="#响应数据" aria-hidden="true">#</a> 响应数据</h3><p>data 的响应内容为 json 数组,每个元素内容如下:</p><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>sender_id</td><td>int64</td><td>公告发表者</td></tr><tr><td>publish_time</td><td>int64</td><td>公告发表时间</td></tr><tr><td>message</td><td>Object<<a href="#message">Message</a>></td><td>公告内容</td></tr></tbody></table><h4 id="message" tabindex="-1"><a class="header-anchor" href="#message" aria-hidden="true">#</a> message</h4><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>text</td><td>string</td><td>公告内容</td></tr><tr><td>images</td><td>List<<a href="#images">Images</a>></td><td>公告图片</td></tr></tbody></table><h4 id="images" tabindex="-1"><a class="header-anchor" href="#images" aria-hidden="true">#</a> images</h4><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>height</td><td>string</td><td>图片高度</td></tr><tr><td>width</td><td>string</td><td>图片宽度</td></tr><tr><td>id</td><td>string</td><td>图片ID,可用<code>https://gdynamic.qpic.cn/gdynamic/{id}/628</code>获取</td></tr></tbody></table><h2 id="群组踢人" tabindex="-1"><a class="header-anchor" href="#群组踢人" aria-hidden="true">#</a> 群组踢人</h2><p>该接口用于群组踢人。</p><h3 id="api-端点-13" tabindex="-1"><a class="header-anchor" href="#api-端点-13" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_kick</code></p><h3 id="参数-13" tabindex="-1"><a class="header-anchor" href="#参数-13" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr><tr><td>user_id</td><td>int64</td><td>是</td><td>QQ 号</td></tr><tr><td>reject_add_request</td><td>bool</td><td>否</td><td>是否拒绝再次加群</td></tr></tbody></table><h3 id="响应-7" tabindex="-1"><a class="header-anchor" href="#响应-7" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。</p><h2 id="退出群组" tabindex="-1"><a class="header-anchor" href="#退出群组" aria-hidden="true">#</a> 退出群组</h2><p>该接口用于退出群组。</p><h3 id="api-端点-14" tabindex="-1"><a class="header-anchor" href="#api-端点-14" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_leave</code></p><h3 id="参数-14" tabindex="-1"><a class="header-anchor" href="#参数-14" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr></tbody></table><h3 id="响应-8" tabindex="-1"><a class="header-anchor" href="#响应-8" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p><h2 id="群戳一戳" tabindex="-1"><a class="header-anchor" href="#群戳一戳" aria-hidden="true">#</a> 群戳一戳</h2><p>该接口用于群戳一戳。</p><h3 id="api-端点-15" tabindex="-1"><a class="header-anchor" href="#api-端点-15" aria-hidden="true">#</a> API 端点</h3><p><code>/group_touch</code> - 用于HTTP</p><p><code>/poke</code> - 用于主动WebSocket与被动WebSocket</p><h3 id="参数-15" tabindex="-1"><a class="header-anchor" href="#参数-15" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr><tr><td>user_id</td><td>int64</td><td>是</td><td>QQ 号</td></tr></tbody></table><h3 id="响应-9" tabindex="-1"><a class="header-anchor" href="#响应-9" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p><h2 id="获取被禁言的群成员列表" tabindex="-1"><a class="header-anchor" href="#获取被禁言的群成员列表" aria-hidden="true">#</a> 获取被禁言的群成员列表</h2><p>用于获取群聊谁谁谁啊犯贱或者被二比滥权管理或者某群主时援交手滑禁言掉的人的列表。</p><h3 id="api端点" tabindex="-1"><a class="header-anchor" href="#api端点" aria-hidden="true">#</a> API端点</h3><p><code>/get_prohibited_member_list</code></p><h3 id="参数-16" tabindex="-1"><a class="header-anchor" href="#参数-16" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr></tbody></table><h3 id="响应-10" tabindex="-1"><a class="header-anchor" href="#响应-10" aria-hidden="true">#</a> 响应</h3><div class="vp-tabs"><div class="vp-tabs-nav" role="tablist"><button type="button" class="vp-tab-nav active" role="tab" aria-controls="tab-1326-0" aria-selected="true">响应字段</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-1326-1" aria-selected="false">响应示例</button></div><!--[--><div class="vp-tab active" id="tab-1326-0" role="tabpanel" aria-expanded="true"><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>user_id</td><td>int64</td><td>QQ 号</td></tr><tr><td>time</td><td>int64</td><td>禁言结束时间</td></tr></tbody></table></div><div class="vp-tab" id="tab-1326-1" role="tabpanel" aria-expanded="false"><div class="language-json line-numbers-mode" data-ext="json"><pre class="language-json"><code><span class="token punctuation">{</span>
|
||
<span class="token property">"status"</span><span class="token operator">:</span> <span class="token string">"ok"</span><span class="token punctuation">,</span>
|
||
<span class="token property">"retcode"</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
|
||
<span class="token property">"data"</span><span class="token operator">:</span> <span class="token punctuation">[</span>
|
||
<span class="token punctuation">{</span>
|
||
<span class="token property">"user_id"</span><span class="token operator">:</span> <span class="token number">2262206340</span><span class="token punctuation">,</span> <span class="token comment">// 被禁言的人</span>
|
||
<span class="token property">"time"</span><span class="token operator">:</span> <span class="token number">1700749967</span> <span class="token comment">// 禁言结束时间</span>
|
||
<span class="token punctuation">}</span>
|
||
<span class="token punctuation">]</span><span class="token punctuation">,</span>
|
||
<span class="token property">"echo"</span><span class="token operator">:</span> <span class="token string">"xxxx"</span>
|
||
<span class="token punctuation">}</span>
|
||
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></div><!--]--></div><h2 id="获取群-全体成员-剩余次数" tabindex="-1"><a class="header-anchor" href="#获取群-全体成员-剩余次数" aria-hidden="true">#</a> 获取群 @全体成员 剩余次数</h2><p>当机器人是管理员时可用</p><h3 id="api端点-1" tabindex="-1"><a class="header-anchor" href="#api端点-1" aria-hidden="true">#</a> API端点</h3><p><code>/get_group_at_all_remain</code></p><h3 id="参数-17" tabindex="-1"><a class="header-anchor" href="#参数-17" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr></tbody></table><h3 id="响应-11" tabindex="-1"><a class="header-anchor" href="#响应-11" aria-hidden="true">#</a> 响应</h3><div class="vp-tabs"><div class="vp-tabs-nav" role="tablist"><button type="button" class="vp-tab-nav active" role="tab" aria-controls="tab-1424-0" aria-selected="true">响应字段</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-1424-1" aria-selected="false">响应示例</button></div><!--[--><div class="vp-tab active" id="tab-1424-0" role="tabpanel" aria-expanded="true"><table><thead><tr><th>字段</th><th>类型</th><th>说明</th></tr></thead><tbody><tr><td>can_at_all</td><td>bool</td><td>是否可以 @全体成员</td></tr><tr><td>remain_at_all_count_for_group</td><td>int32</td><td>群内所有管理当天剩余 @全体成员 次数</td></tr><tr><td>remain_at_all_count_for_uin</td><td>int32</td><td>Bot 当天剩余 @全体成员 次数</td></tr></tbody></table></div><div class="vp-tab" id="tab-1424-1" role="tabpanel" aria-expanded="false"><div class="language-json line-numbers-mode" data-ext="json"><pre class="language-json"><code><span class="token punctuation">{</span>
|
||
<span class="token property">"status"</span><span class="token operator">:</span> <span class="token string">"ok"</span><span class="token punctuation">,</span>
|
||
<span class="token property">"retcode"</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
|
||
<span class="token property">"data"</span><span class="token operator">:</span> <span class="token punctuation">[</span>
|
||
<span class="token punctuation">{</span>
|
||
<span class="token property">"can_at_all"</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
|
||
<span class="token property">"remain_at_all_count_for_group"</span><span class="token operator">:</span> <span class="token number">20</span><span class="token punctuation">,</span>
|
||
<span class="token property">"remain_at_all_count_for_group"</span><span class="token operator">:</span> <span class="token number">10</span>
|
||
<span class="token punctuation">}</span>
|
||
<span class="token punctuation">]</span><span class="token punctuation">,</span>
|
||
<span class="token property">"echo"</span><span class="token operator">:</span> <span class="token string">"xxxx"</span>
|
||
<span class="token punctuation">}</span>
|
||
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></div><!--]--></div><h2 id="设置消息底部评论小表情" tabindex="-1"><a class="header-anchor" href="#设置消息底部评论小表情" aria-hidden="true">#</a> 设置消息底部评论小表情</h2><p>貌似是从别的地方抄的奇怪功能,目前版本(9.0.15)只在部分群聊进行灰度测试!</p><h3 id="api-端点-16" tabindex="-1"><a class="header-anchor" href="#api-端点-16" aria-hidden="true">#</a> API 端点</h3><p><code>/set_group_comment_face</code></p><h3 id="参数-18" tabindex="-1"><a class="header-anchor" href="#参数-18" aria-hidden="true">#</a> 参数</h3><table><thead><tr><th>字段</th><th>类型</th><th>必须</th><th>说明</th></tr></thead><tbody><tr><td>group_id</td><td>int64</td><td>是</td><td>群号</td></tr><tr><td>msg_id</td><td>int32</td><td>是</td><td>消息ID</td></tr><tr><td>face_id</td><td>int32</td><td>是</td><td>表情ID</td></tr><tr><td>is_set</td><td>bool</td><td>否</td><td>是否设置或取消评论</td></tr></tbody></table><h3 id="响应-12" tabindex="-1"><a class="header-anchor" href="#响应-12" aria-hidden="true">#</a> 响应</h3><p>该接口将返回处理结果,其中 <code>data</code> 字段无数据。。</p></div><!----><footer class="page-meta"><div class="meta-item edit-link"><a href="https://github.com/whitechi73/OpenShamrock/edit/docs/docs/api/group.md" rel="noopener noreferrer" target="_blank" aria-label="编辑此页" class="nav-link label"><!--[--><svg xmlns="http://www.w3.org/2000/svg" class="icon edit-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="edit icon"><path d="M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"></path><path d="M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"></path></svg><!--]-->编辑此页<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!----></a></div><div class="meta-item git-info"><div class="update-time"><span class="label">上次编辑于: </span><!----></div><div class="contributors"><span class="label">贡献者: </span><!--[--><!--[--><span class="contributor" title="email: geyinchibuaa@gmail.com">ikechan8370</span>,<!--]--><!--[--><span class="contributor" title="email: 98259561+whitechi73@users.noreply.github.com">白池</span>,<!--]--><!--[--><span class="contributor" title="email: 2627706725@qq.com">Kamisato-Ayaka-233</span>,<!--]--><!--[--><span class="contributor" title="email: 982809597@qq.com">Miuzarte</span>,<!--]--><!--[--><span class="contributor" title="email: 24893075+tobycroft@users.noreply.github.com">Tuuz</span>,<!--]--><!--[--><span class="contributor" title="email: 2564076459@qq.com">huan_kong</span>,<!--]--><!--[--><span class="contributor" title="email: qgzhenxin@qq.com">真心</span><!--]--><!--]--></div></div></footer><nav class="vp-page-nav"><a aria-label="处理相关" class="vp-link nav-link prev nav-link prev" href="/OpenShamrock/api/dispose.html"><div class="hint"><span class="arrow start"></span>上一页</div><div class="link"><span class="font-icon icon fa-fw fa-sm fas fa-bowling-ball" style=""></span>处理相关</div></a><a aria-label="文件相关" class="vp-link nav-link next nav-link next" href="/OpenShamrock/api/file.html"><div class="hint">下一页<span class="arrow end"></span></div><div class="link">文件相关<span class="font-icon icon fa-fw fa-sm fas fa-file" style=""></span></div></a></nav><!----><!----><!--]--></main><!--]--><!----></div><!--]--><!--]--><!----><!----><!--]--></div>
|
||
<script type="module" src="/OpenShamrock/assets/app-e0095480.js" defer></script>
|
||
</body>
|
||
</html>
|