AmorBot/proto/group.go
2024-05-27 18:49:46 +08:00

37 lines
1.2 KiB
Go

package proto
type GroupMemberInfo struct {
GroupID int64 `json:"group_id"`
UserID int64 `json:"user_id"`
Nickname string `json:"nickname"`
Card string `json:"card"`
Sex string `json:"sex"`
Age int64 `json:"age"`
Area string `json:"area"`
JoinTime int32 `json:"join_time"`
LastSentTime int32 `json:"last_sent_time"`
Level string `json:"level"`
Role string `json:"role"`
}
type GroupMemberInfoList []struct {
GroupID int `json:"group_id"`
UserID int `json:"user_id"`
Nickname string `json:"nickname"`
Card string `json:"card"`
Sex string `json:"sex"`
Age int `json:"age"`
Area string `json:"area"`
Level int `json:"level"`
QqLevel int `json:"qq_level"`
JoinTime int `json:"join_time"`
LastSentTime int `json:"last_sent_time"`
TitleExpireTime int `json:"title_expire_time"`
Unfriendly bool `json:"unfriendly"`
CardChangeable bool `json:"card_changeable"`
IsRobot bool `json:"is_robot"`
ShutUpTimestamp int `json:"shut_up_timestamp"`
Role string `json:"role"`
Title string `json:"title"`
}