first commit
This commit is contained in:
35
pkg/common/netease/rsp.go
Normal file
35
pkg/common/netease/rsp.go
Normal file
@ -0,0 +1,35 @@
|
||||
package Netease
|
||||
|
||||
type CreateChatGroupRsp struct {
|
||||
FailedList []*FailedMember `json:"failed_list,omitempty"`
|
||||
TeamInfo *TeamInfo `json:"team_info"`
|
||||
}
|
||||
|
||||
type FailedMember struct {
|
||||
AccountID string `json:"account_id"`
|
||||
ErrorCode int `json:"error_code"`
|
||||
ErrorMsg string `json:"error_msg"`
|
||||
}
|
||||
|
||||
type TeamInfo struct {
|
||||
TeamID int64 `json:"team_id"`
|
||||
OwnerAccountID string `json:"owner_account_id"`
|
||||
Name string `json:"name"`
|
||||
Icon string `json:"icon,omitempty"`
|
||||
Announcement string `json:"announcement,omitempty"`
|
||||
Intro string `json:"intro,omitempty"`
|
||||
MembersLimit int `json:"members_limit"`
|
||||
MemberCount int `json:"member_count"`
|
||||
ServerExtension string `json:"server_extension,omitempty"`
|
||||
CustomerExtension string `json:"customer_extension,omitempty"`
|
||||
CreateTime int64 `json:"create_time"`
|
||||
UpdateTime int64 `json:"update_time"`
|
||||
TeamType int `json:"team_type"`
|
||||
Configuration *TeamConfiguration `json:"configuration,omitempty"`
|
||||
}
|
||||
|
||||
type BaseRes[T any] struct {
|
||||
Code int
|
||||
Msg string
|
||||
Data T
|
||||
}
|
||||
Reference in New Issue
Block a user