Discover Packages
github.com/nekoite/go-napcat
qq
package
Version:
v0.0.0-...-d64b273
Opens a new window with list of versions in this module.
Published: Sep 19, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AnonymousData struct {
Id int64 `json:"id"`
Name string `json:"name"`
Flag string `json:"flag"`
}
type BasicUser struct {
UserId UserId `json:"user_id"`
Nickname string `json:"nickname"`
}
type BasicUserWithAvatar struct {
BasicUser
Avatar string `json:"avatar"`
}
type DetailedGroupUser struct {
GroupUser
GroupId GroupId `json:"group_id"`
JoinTime int64 `json:"join_time"`
LastSentTime int64 `json:"last_sent_time"`
Unfriendly bool `json:"unfriendly"`
TitleExpireTime int64 `json:"title_expire_time"`
CardChangeable bool `json:"card_changeable"`
}
type Group struct {
GroupId GroupId `json:"group_id"`
GroupName string `json:"group_name"`
MemberCount int32 `json:"member_count"`
MaxMemberCount int32 `json:"max_member_count"`
}
type IUser interface {
GetUserId() UserId
GetNickname() string
}
const (
SexMale Sex = "male"
SexFemale Sex = "female"
SexUnknown Sex = "unknown"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.