File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -664,3 +664,66 @@ POST /v1/group/msg-type-limit
664664 " msg" : " success" // 返回状态消息
665665}
666666```
667+
668+ ## 获取群成员列表
669+
670+ POST /v1/group/edit-group
671+
672+ 请求头:
673+
674+ | 名称| 必须| 备注|
675+ | -----| ----| ----|
676+ | token| 是| 群聊管理员token|
677+
678+ 请求体:
679+
680+ ``` ProtoBuf
681+ group_id: "123" // 目标群聊ID
682+ name: "测试群聊名称" // 群聊名称
683+ introduction: "测试群聊简介" // 群聊简介
684+ avatarUrl: "https://..." // 群聊头像url
685+ direct_join: 0 // 进群免审核,1为开启
686+ history_msg: 1 // 历史消息,1为开启
687+ category_name: "无" // 分类名
688+ category_id: 40 // 分类ID
689+ private: 0 // 是否私有,1为私有
690+ ```
691+
692+ ::: details ProtoBuf数据结构
693+
694+ ``` proto
695+ message edit_group_send {
696+ string group_id = 2; // 目标群聊ID
697+ string name = 3; // 群聊名称
698+ string introduction = 4; // 群聊简介
699+ string avatarUrl = "5; // 群聊头像url
700+ uint64 direct_join = 6; // 进群免审核,1为开启
701+ uint64 history_msg = 7; // 历史消息,1为开启
702+ string category_name = 8; // 分类名
703+ uint64 category_id = 9; // 分类ID
704+ uint64 private = 10; // 是否私有,1为私有
705+ }
706+ ```
707+
708+ :::
709+
710+ 响应体:
711+
712+ ``` ProtoBuf
713+ status {
714+ number: 114514
715+ code: 1
716+ msg: "success"
717+ }
718+ ```
719+
720+ ::: details ProtoBuf数据结构
721+
722+ ``` proto
723+ message list_member {
724+ Status status = 1;
725+ repeated User user = 2;
726+ }
727+ ```
728+
729+ :::
You can’t perform that action at this time.
0 commit comments