zhamao-framework/docs/api/ZM/API/GoCqhttpAPIV11.md
2022-03-27 16:42:36 +08:00

2.5 KiB
Raw Blame History

ZM\API\GoCqhttpAPIV11

getGuildServiceProfile

public function getGuildServiceProfile(): array|bool

描述

获取频道系统内BOT的资料 响应字段nickname, tiny_id, avatar_url

返回

类型 描述
array bool

getGuildList

public function getGuildList(): array|bool

描述

获取频道列表

返回

类型 描述
array bool

getGuildMetaByGuest

public function getGuildMetaByGuest(mixed $guild_id): array|bool

描述

通过访客获取频道元数据

参数

名称 类型 描述
guild_id mixed

返回

类型 描述
array bool

getGuildChannelList

public function getGuildChannelList(mixed $guild_id, false $no_cache): array|bool

描述

获取子频道列表

参数

名称 类型 描述
guild_id mixed
no_cache false

返回

类型 描述
array bool

getGuildMembers

public function getGuildMembers(mixed $guild_id): array|bool

描述

获取频道成员列表

参数

名称 类型 描述
guild_id mixed

返回

类型 描述
array bool

sendGuildChannelMsg

public function sendGuildChannelMsg(mixed $guild_id, mixed $channel_id, mixed $message): array|bool

描述

发送信息到子频道

参数

名称 类型 描述
guild_id mixed
channel_id mixed
message mixed

返回

类型 描述
array bool

processAPI

public function processAPI(mixed $connection, mixed $reply, |null $function): array|bool

描述

作者很懒,什么也没有说

参数

名称 类型 描述
connection mixed
reply mixed
function null

返回

类型 描述
array bool

processHttpAPI

public function processHttpAPI(mixed $connection, mixed $reply, null $function): bool

描述

作者很懒,什么也没有说

参数

名称 类型 描述
connection mixed
reply mixed
function null

返回

类型 描述
bool