Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pythonsdk补充获取频道成员列表API文档 #142

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
2620326
feat: pythosdk更新公告API文档
SaucePlum Jun 20, 2022
cf93dfe
feat: pythonsdk更新首页和日志文档
SaucePlum Jun 20, 2022
5d7abbd
feat: pythonsdk更新事件监听文档
SaucePlum Jun 20, 2022
7bb68b4
feat: pythonsdk更新用户API文档
SaucePlum Jun 20, 2022
945f932
feat: pythonsdk更新音频API文档
SaucePlum Jun 20, 2022
800fbae
feat: pythonsdk更新接口权限API文档
SaucePlum Jun 20, 2022
56aadaf
feat: 修正表情表态文档
SaucePlum Jun 23, 2022
2ec1c01
feat: pythonsdk更新子频道API文档
SaucePlum Jun 23, 2022
ec48006
feat: pythonsdk更新子频道权限API文档
SaucePlum Jun 23, 2022
903801b
feat: pythonsdk更新私信API文档
SaucePlum Jun 23, 2022
c07df98
feat: pythonsdk更新频道身份组API文档
SaucePlum Jun 23, 2022
dc852f2
feat: pythonsdk更新成员相关API文档
SaucePlum Jun 23, 2022
7ca1e3a
feat: pythonsdk更新消息API文档
SaucePlum Jun 23, 2022
61797b6
feat: pythonsdk更新精华消息API文档
SaucePlum Jun 23, 2022
407ff43
feat: pythonsdk更新日程API文档
SaucePlum Jun 23, 2022
425fc12
fix: 去除pythonsdk删除日程API文档一处多余的代码
SaucePlum Jun 23, 2022
d4fd3be
feat: pythonsdk更新表情表态API文档
SaucePlum Jun 23, 2022
69bb5c3
feat: pythonsdk更新禁言API文档
SaucePlum Jun 23, 2022
a76932b
feat: 修复pythonsdk构建时产生的报错问题
SaucePlum Jun 23, 2022
2f8bb9b
feat: 修改botpy文档部分代码风格规范
SaucePlum Jun 24, 2022
eb29e12
feat: pythonsdk补充获取频道成员列表API文档
SaucePlum Jun 24, 2022
bbd39b5
Merge branch 'tencent-connect:main' into main
SaucePlum Jun 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions docs/develop/pythonsdk/api/member/get_guild_members.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@
## 使用示例

```python
import qqbot
import botpy

token = qqbot.Token({appid}, {token})
api = qqbot.GuildMemberAPI(token, False)
members = api.get_guild_members(guild_id, query_params)
from botpy.message import Message

class MyClient(botpy.Client):
async def on_at_message_create(self, message: Message):
await self.api.get_guild_members(guild_id="xxxx", after="0", limit=1)

intents = botpy.Intents(public_guild_messages=True)
client = MyClient(intents=intents)
client.run(appid={appid}, token={token})
```

## 参数说明
Expand Down