优化创建群参数

This commit is contained in:
李寻欢 2022-01-11 15:15:42 +08:00
parent 9f05dc8c58
commit f1e54a8fa2
1 changed files with 6 additions and 6 deletions

View File

@ -37,12 +37,12 @@ type AccountDeleteReqItem struct {
// GroupCreateReq 建群
type GroupCreateReq struct {
OwnerAccount string `json:"Owner_Account"` // 群主的 UserId选填
Type common.GroupType `json:"Type"` // 群组类型(不支持创建直播群)
Name string `json:"Name"` // 群名称(必填)
ApplyJoinOption string `json:"ApplyJoinOption"` // 申请加群处理方式(选填) -> FreeAccess自由加入NeedPermission需要验证DisableApply禁止加群不填默认为 NeedPermission需要验证
GroupId string `json:"GroupId"` // 自定义的群组Id
MemberList []GroupMemberItem `json:"MemberList"` // 群组成员
OwnerAccount string `json:"Owner_Account"` // 群主的 UserId选填
Type common.GroupType `json:"Type"` // 群组类型(不支持创建直播群)
Name string `json:"Name"` // 群名称(必填)
GroupId string `json:"GroupId"` // 自定义的群组Id
MemberList []GroupMemberItem `json:"MemberList"` // 群组成员
//ApplyJoinOption string `json:"ApplyJoinOption"` // 申请加群处理方式(选填) -> FreeAccess自由加入NeedPermission需要验证DisableApply禁止加群不填默认为 NeedPermission需要验证
}
// GroupMemberItem 群成员