Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Commit

Permalink
获取群列表
Browse files Browse the repository at this point in the history
  • Loading branch information
slight-sky committed Jul 14, 2017
1 parent 7b2908b commit 1374ae4
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 28 deletions.
115 changes: 87 additions & 28 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ CoolQ机器人 基于[http插件](https://richardchien.github.io/coolq-http-api/
```

#log

- 添加获取群列表


[API参数描述](https://richardchien.github.io/coolq-http-api/#/API)
13 changes: 13 additions & 0 deletions src/CoolQSDK/CoolQSDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,19 @@ public function setGroupAddRequest($flag, $type, $approve = 'true', $reason = ""
return $res;
}

/**
* /get_group_list 获取群列表
* 参数
* 字段名 数据类型 默认值 说明
* @return mixed|string
*/
public function getGroupList()
{
$url = $this->path . "get_group_list";
$res = self::curl_request($url);
return $res;
}

/**
* /get_group_member_list 获取群成员列表
* 参数
Expand Down

0 comments on commit 1374ae4

Please sign in to comment.