Versions in this module Expand all Collapse all v0 v0.0.1 Dec 21, 2022 Changes in this version + const Administrator + const AndroidPad + const AndroidPhone + const AndroidWatch + const IPad + const MacOS + const Member + const NeedCaptcha + const OtherLoginError + const Owner + const QRCodeCanceled + const QRCodeConfirmed + const QRCodeImageFetch + const QRCodeTimeout + const QRCodeWaitingForConfirm + const QRCodeWaitingForScan + const QiDian + const SMSNeededError + const SMSOrVerifyNeededError + const SliderNeededError + const StatusAway + const StatusBattery + const StatusBusy + const StatusConstellation + const StatusCookedRice + const StatusEatChicken + const StatusFitness + const StatusGaming + const StatusInvisible + const StatusListening + const StatusLoving + const StatusMeetSpring + const StatusOffline + const StatusOnline + const StatusPlayBall + const StatusSignal + const StatusStayUp + const StatusStudy + const StatusStudyOnline + const StatusTimi + const StatusVacationing + const StatusWangWang + const StatusWatchingTV + const StatusWeather + const TooManySMSRequestError + const UnknownDecoder + const UnknownLoginError + const UnsafeDeviceError + const Unset + var EmptyBytes = make([]byte, 0) + var ErrAlreadyOnline = errors.New("already online") + var ErrMemberNotFound = errors.New("member not found") + var ErrNotExists = errors.New("not exists") + var SystemDeviceInfo = &DeviceInfo + func GenIMEI() string + func GenRandomDevice() + func NewUinFilterPrivate(uin int64) func(*message.PrivateMessage) bool + type AtAllRemainInfo struct + CanAtAll bool + RemainAtAllCountForGroup uint32 + RemainAtAllCountForUin uint32 + type ChannelInfo struct + AtAllSeq uint64 + ChannelId uint64 + ChannelName string + ChannelType ChannelType + EventTime uint32 + Meta *ChannelMeta + NotifyType uint32 + Time uint64 + type ChannelMeta struct + CreateTime int64 + CreatorTinyId uint64 + CreatorUin int64 + CurrentSlowMode int32 + GuildId uint64 + SlowModes []*ChannelSlowModeInfo + TalkPermission int32 + TopMessageOperatorId uint64 + TopMessageSeq uint64 + TopMessageTime int64 + VisibleType int32 + type ChannelSlowModeInfo struct + SlowModeCircle int32 + SlowModeKey int32 + SlowModeText string + SpeakFrequency int32 + type ChannelType int32 + const ChannelTypeLive + const ChannelTypeText + const ChannelTypeTopic + const ChannelTypeVoice + type ClientDisconnectedEvent struct + Message string + type ClientProtocol = auth.Protocol + type ConnectionQualityInfo struct + ChatServerLatency int64 + ChatServerPacketLoss int + LongMessageServerLatency int64 + LongMessageServerResponseLatency int64 + SrvServerLatency int64 + SrvServerPacketLoss int + type Coordinate struct + X int32 + Y int32 + type CurrentTalkative struct + Avatar string + DayCount int32 + Name string + Uin int64 + type CustomFace struct + ResId string + Url string + type DeviceInfo = auth.Device + type EventHandle struct + func (handle *EventHandle[T]) Subscribe(handler func(client *QQClient, event T)) + type FetchGuildMemberListWithRoleResult struct + Finished bool + Members []*GuildMemberInfo + NextIndex uint32 + NextQueryParam string + NextRoleId uint64 + type ForwardMessageBuilder struct + func (builder *ForwardMessageBuilder) Link(reloc *message.ForwardElement, fmsg *message.ForwardMessage) + func (builder *ForwardMessageBuilder) Main(m *message.ForwardMessage) *message.ForwardElement + func (builder *ForwardMessageBuilder) NestedNode() *message.ForwardElement + type FriendInfo struct + FaceId int16 + Nickname string + Remark string + Uin int64 + type FriendListResponse struct + List []*FriendInfo + TotalCount int32 + type FriendMessageRecalledEvent struct + FriendUin int64 + MessageId int32 + Time int64 + type FriendPokeNotifyEvent struct + Receiver int64 + Sender int64 + func (e *FriendPokeNotifyEvent) Content() string + func (e *FriendPokeNotifyEvent) From() int64 + type GroupDigest struct + AddDigestNick string + AddDigestTime int64 + AddDigestUin int64 + GroupCode int64 + InternalMessageID uint32 + MessageID uint32 + SenderNick string + SenderTime int64 + SenderUin int64 + type GroupDigestEvent struct + GroupCode int64 + InternalMessageID int32 + MessageID int32 + OperateTime uint32 + OperationType int32 + OperatorNick string + OperatorUin int64 + SenderNick string + SenderUin int64 + type GroupFile struct + BusId int32 + DeadTime int64 + DownloadTimes int64 + FileId string + FileName string + FileSize int64 + GroupCode int64 + ModifyTime int64 + UploadTime int64 + Uploader int64 + UploaderName string + type GroupFileSystem struct + FileCount uint32 + GroupCode int64 + LimitCount uint32 + TotalSpace uint64 + UsedSpace uint64 + func (fs *GroupFileSystem) CreateFolder(parentFolder, name string) error + func (fs *GroupFileSystem) DeleteFile(parentFolderID, fileId string, busId int32) string + func (fs *GroupFileSystem) DeleteFolder(folderId string) error + func (fs *GroupFileSystem) GetDownloadUrl(file *GroupFile) string + func (fs *GroupFileSystem) GetFilesByFolder(folderID string) ([]*GroupFile, []*GroupFolder, error) + func (fs *GroupFileSystem) RenameFolder(folderId, newName string) error + func (fs *GroupFileSystem) Root() ([]*GroupFile, []*GroupFolder, error) + func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error + type GroupFolder struct + CreateTime int64 + Creator int64 + CreatorName string + FolderId string + FolderName string + GroupCode int64 + TotalFileCount uint32 + type GroupHonorInfo struct + ActorList []HonorMemberInfo + CurrentTalkative CurrentTalkative + EmotionList []HonorMemberInfo + GroupCode string + LegendList []HonorMemberInfo + StrongNewbieList []HonorMemberInfo + TalkativeList []HonorMemberInfo + Type HonorType + Uin string + type GroupInfo struct + Code int64 + GroupCreateTime uint32 + GroupLevel uint32 + LastMsgSeq int64 + MaxMemberCount uint16 + MemberCount uint16 + Members []*GroupMemberInfo + Name string + OwnerUin int64 + Uin int64 + func (g *GroupInfo) AdministratorOrOwner() bool + func (g *GroupInfo) FindMember(uin int64) *GroupMemberInfo + func (g *GroupInfo) FindMemberWithoutLock(uin int64) *GroupMemberInfo + func (g *GroupInfo) MuteAll(mute bool) + func (g *GroupInfo) MuteAnonymous(id, nick string, seconds int32) error + func (g *GroupInfo) Quit() + func (g *GroupInfo) Read(f func(*GroupInfo) any) any + func (g *GroupInfo) SelfPermission() MemberPermission + func (g *GroupInfo) Update(f func(*GroupInfo)) + func (g *GroupInfo) UpdateGroupHeadPortrait(img []byte) + func (g *GroupInfo) UpdateName(newName string) + type GroupInvitedRequest struct + Actor int64 + Checked bool + GroupCode int64 + GroupName string + InvitorNick string + InvitorUin int64 + RequestId int64 + func (r *GroupInvitedRequest) Accept() + func (r *GroupInvitedRequest) Reject(block bool, reason string) + type GroupLeaveEvent struct + Group *GroupInfo + Operator *GroupMemberInfo + type GroupMemberInfo struct + CardName string + Gender byte + Group *GroupInfo + JoinTime int64 + LastSpeakTime int64 + Level uint16 + Nickname string + Permission MemberPermission + ShutUpTimestamp int64 + SpecialTitle string + Uin int64 + func (m *GroupMemberInfo) CardChangable() bool + func (m *GroupMemberInfo) DisplayName() string + func (m *GroupMemberInfo) EditCard(card string) + func (m *GroupMemberInfo) EditSpecialTitle(title string) + func (m *GroupMemberInfo) Kick(msg string, block bool) error + func (m *GroupMemberInfo) Manageable() bool + func (m *GroupMemberInfo) Mute(time uint32) error + func (m *GroupMemberInfo) Poke() + func (m *GroupMemberInfo) SetAdmin(flag bool) + type GroupMessageRecalledEvent struct + AuthorUin int64 + GroupCode int64 + MessageId int32 + OperatorUin int64 + Time int32 + type GroupMuteEvent struct + GroupCode int64 + OperatorUin int64 + TargetUin int64 + Time int32 + type GroupNameUpdatedEvent struct + Group *GroupInfo + NewName string + OldName string + OperatorUin int64 + type GroupNoticeFeed struct + Message struct{ ... } + NoticeId string + PublishTime uint64 + SenderId uint32 + type GroupNoticeImage struct + Height string + ID string + Width string + type GroupNoticeMessage struct + Message struct{ ... } + NoticeId string + PublishTime uint64 + SenderId uint32 + type GroupPokeNotifyEvent struct + GroupCode int64 + Receiver int64 + Sender int64 + func (e *GroupPokeNotifyEvent) Content() string + func (e *GroupPokeNotifyEvent) From() int64 + type GroupRedBagLuckyKingNotifyEvent struct + GroupCode int64 + LuckyKing int64 + Sender int64 + func (e *GroupRedBagLuckyKingNotifyEvent) Content() string + func (e *GroupRedBagLuckyKingNotifyEvent) From() int64 + type GroupSearchInfo struct + Code int64 + Memo string + Name string + type GroupSessionInfo struct + GroupCode int64 + LatestMessages []*message.GroupMessage + UnreadCount uint32 + type GroupSystemMessages struct + InvitedRequests []*GroupInvitedRequest + JoinRequests []*UserJoinGroupRequest + type GuildChannelOperationEvent struct + ChannelInfo *ChannelInfo + GuildId uint64 + OperatorId uint64 + type GuildChannelUpdatedEvent struct + ChannelId uint64 + GuildId uint64 + NewChannelInfo *ChannelInfo + OldChannelInfo *ChannelInfo + OperatorId uint64 + type GuildInfo struct + AvatarUrl string + Channels []*ChannelInfo + CoverUrl string + GuildCode uint64 + GuildId uint64 + GuildName string + func (g *GuildInfo) FindChannel(channelId uint64) *ChannelInfo + type GuildMemberInfo struct + LastSpeakTime int64 + Nickname string + Role uint64 + RoleName string + TinyId uint64 + Title string + type GuildMessageReactionsUpdatedEvent struct + ChannelId uint64 + CurrentReactions []*message.GuildMessageEmojiReaction + EmojiId int32 + GuildId uint64 + MessageId uint64 + OperatorId uint64 + type GuildMessageRecalledEvent struct + ChannelId uint64 + GuildId uint64 + MessageId uint64 + OperatorId uint64 + RecallTime int64 + type GuildMeta struct + CreateTime int64 + GuildId uint64 + GuildName string + GuildProfile string + MaxAdminCount int32 + MaxMemberCount int64 + MaxRobotCount int32 + MemberCount int64 + OwnerId uint64 + type GuildRole struct + ArgbColor uint32 + Disabled bool + Independent bool + MaxNum int32 + Num int32 + Owned bool + RoleId uint64 + RoleName string + type GuildService struct + AvatarUrl string + GuildCount uint32 + Guilds []*GuildInfo + Nickname string + TinyId uint64 + func (s *GuildService) CreateGuildRole(guildId uint64, name string, color uint32, independent bool, ...) (uint64, error) + func (s *GuildService) DeleteGuildRole(guildId uint64, roleId uint64) error + func (s *GuildService) FetchChannelInfo(guildId, channelId uint64) (*ChannelInfo, error) + func (s *GuildService) FetchChannelList(guildId uint64) (r []*ChannelInfo, e error) + func (s *GuildService) FetchGuestGuild(guildId uint64) (*GuildMeta, error) + func (s *GuildService) FetchGuildMemberListWithRole(guildId, channelId uint64, startIndex uint32, roleIdIndex uint64, param string) (*FetchGuildMemberListWithRoleResult, error) + func (s *GuildService) FetchGuildMemberProfileInfo(guildId, tinyId uint64) (*GuildUserProfile, error) + func (s *GuildService) FindGuild(guildId uint64) *GuildInfo + func (s *GuildService) GetGuildRoles(guildId uint64) ([]*GuildRole, error) + func (s *GuildService) GetTopicChannelFeeds(guildId, channelId uint64) ([]*topic.Feed, error) + func (s *GuildService) GetUserProfile(tinyId uint64) (*GuildUserProfile, error) + func (s *GuildService) ModifyRoleInGuild(guildId uint64, roleId uint64, name string, color uint32, indepedent bool) error + func (s *GuildService) OnGuildChannelCreated(f func(*QQClient, *GuildChannelOperationEvent)) + func (s *GuildService) OnGuildChannelDestroyed(f func(*QQClient, *GuildChannelOperationEvent)) + func (s *GuildService) OnGuildChannelMessage(f func(*QQClient, *message.GuildChannelMessage)) + func (s *GuildService) OnGuildChannelUpdated(f func(*QQClient, *GuildChannelUpdatedEvent)) + func (s *GuildService) OnGuildMessageReactionsUpdated(f func(*QQClient, *GuildMessageReactionsUpdatedEvent)) + func (s *GuildService) OnGuildMessageRecalled(f func(*QQClient, *GuildMessageRecalledEvent)) + func (s *GuildService) OnMemberJoinedGuild(f func(*QQClient, *MemberJoinGuildEvent)) + func (s *GuildService) PostTopicChannelFeed(guildId, channelId uint64, feed *topic.Feed) error + func (s *GuildService) PullGuildChannelMessage(guildId, channelId, beginSeq, endSeq uint64) (r []*message.GuildChannelMessage, e error) + func (s *GuildService) QueryImage(guildId, channelId uint64, hash []byte, size uint64) (*message.GuildImageElement, error) + func (s *GuildService) SendGuildChannelMessage(guildId, channelId uint64, m *message.SendingMessage) (*message.GuildChannelMessage, error) + func (s *GuildService) SetUserRoleInGuild(guildId uint64, set bool, roleId uint64, user []uint64) error + func (s *GuildService) UploadGuildImage(guildId, channelId uint64, img io.ReadSeeker) (*message.GuildImageElement, error) + type GuildUserProfile struct + AvatarUrl string + JoinTime int64 + Nickname string + Roles []*GuildRole + TinyId uint64 + type HonorMemberInfo struct + Avatar string + Desc string + Name string + Uin int64 + type HonorType int + const Emotion + const Legend + const Performer + const StrongNewbie + const Talkative + type INotifyEvent interface + Content func() string + From func() int64 + type LocalFile struct + Body io.ReadSeeker + FileName string + RemoteFolder string + type Logger interface + Debug func(format string, args ...any) + Dump func(dumped []byte, format string, args ...any) + Error func(format string, args ...any) + Info func(format string, args ...any) + Warning func(format string, args ...any) + type LoginError int + func (i LoginError) String() string + type LoginResponse struct + CaptchaImage []byte + CaptchaSign []byte + Error LoginError + ErrorMessage string + SMSPhone string + Success bool + VerifyUrl string + type MemberCardUpdatedEvent struct + Group *GroupInfo + Member *GroupMemberInfo + OldCard string + type MemberHonorChangedNotifyEvent struct + GroupCode int64 + Honor HonorType + Nick string + Uin int64 + func (e *MemberHonorChangedNotifyEvent) Content() string + func (e *MemberHonorChangedNotifyEvent) From() int64 + type MemberJoinGroupEvent struct + Group *GroupInfo + Member *GroupMemberInfo + type MemberJoinGuildEvent struct + Guild *GuildInfo + Member *GuildMemberInfo + type MemberLeaveGroupEvent struct + Group *GroupInfo + Member *GroupMemberInfo + Operator *GroupMemberInfo + type MemberPermission int + type MemberPermissionChangedEvent struct + Group *GroupInfo + Member *GroupMemberInfo + NewPermission MemberPermission + OldPermission MemberPermission + type MemberSpecialTitleUpdatedEvent struct + GroupCode int64 + NewTitle string + Uin int64 + type ModelGet struct + Req ModelReq + type ModelReq struct + Req ModelReqData + type ModelReqData struct + AppType int32 + IMei string + Model string + ModelShow string + RecoverDefault bool + ShowInfo bool + Uin int64 + type ModelSet struct + Req ModelReq + type ModelVariant struct + ModelShow string + NeedPay bool + type NewFriendEvent struct + Friend *FriendInfo + type NewFriendRequest struct + Message string + RequestId int64 + RequesterNick string + RequesterUin int64 + func (r *NewFriendRequest) Accept() + func (r *NewFriendRequest) Reject() + type OcrResponse struct + Language string + Texts []*TextDetection + type OfflineFileEvent struct + DownloadUrl string + FileName string + FileSize int64 + Sender int64 + type OtherClientInfo struct + AppId int64 + DeviceKind string + DeviceName string + type OtherClientStatusChangedEvent struct + Client *OtherClientInfo + Online bool + type ProfileDetailUpdate map[uint16][]byte + func NewProfileDetailUpdate() ProfileDetailUpdate + func (p ProfileDetailUpdate) College(value string) ProfileDetailUpdate + func (p ProfileDetailUpdate) Company(value string) ProfileDetailUpdate + func (p ProfileDetailUpdate) Email(value string) ProfileDetailUpdate + func (p ProfileDetailUpdate) Nick(value string) ProfileDetailUpdate + func (p ProfileDetailUpdate) PersonalNote(value string) ProfileDetailUpdate + type QQClient struct + Age uint16 + AllowSlider bool + ConnectTime time.Time + DisconnectedEvent EventHandle[*ClientDisconnectedEvent] + FriendList []*FriendInfo + FriendMessageRecalledEvent EventHandle[*FriendMessageRecalledEvent] + FriendNotifyEvent EventHandle[INotifyEvent] + Gender uint16 + GroupDigestEvent EventHandle[*GroupDigestEvent] + GroupInvitedEvent EventHandle[*GroupInvitedRequest] + GroupJoinEvent EventHandle[*GroupInfo] + GroupLeaveEvent EventHandle[*GroupLeaveEvent] + GroupList []*GroupInfo + GroupMemberJoinEvent EventHandle[*MemberJoinGroupEvent] + GroupMemberLeaveEvent EventHandle[*MemberLeaveGroupEvent] + GroupMemberPermissionChangedEvent EventHandle[*MemberPermissionChangedEvent] + GroupMessageEvent EventHandle[*message.GroupMessage] + GroupMessageRecalledEvent EventHandle[*GroupMessageRecalledEvent] + GroupMuteEvent EventHandle[*GroupMuteEvent] + GroupNameUpdatedEvent EventHandle[*GroupNameUpdatedEvent] + GroupNotifyEvent EventHandle[INotifyEvent] + GuildService *GuildService + MemberCardUpdatedEvent EventHandle[*MemberCardUpdatedEvent] + MemberSpecialTitleUpdatedEvent EventHandle[*MemberSpecialTitleUpdatedEvent] + NewFriendEvent EventHandle[*NewFriendEvent] + NewFriendRequestEvent EventHandle[*NewFriendRequest] + Nickname string + OfflineFileEvent EventHandle[*OfflineFileEvent] + Online atomic.Bool + OnlineClients []*OtherClientInfo + OtherClientStatusChangedEvent EventHandle[*OtherClientStatusChangedEvent] + PasswordMd5 [16]byte + PrivateMessageEvent EventHandle[*message.PrivateMessage] + QiDian *QiDianAccountInfo + SelfGroupMessageEvent EventHandle[*message.GroupMessage] + SelfPrivateMessageEvent EventHandle[*message.PrivateMessage] + SequenceId atomic.Int32 + SessionId []byte + TCP *network.TCPClient + TempMessageEvent EventHandle[*TempMessageEvent] + Uin int64 + UseFragmentMessage bool + UseHighwayMessage bool + UserWantJoinGroupEvent EventHandle[*UserJoinGroupRequest] + func NewClient(uin int64, password string) *QQClient + func NewClientEmpty() *QQClient + func NewClientMd5(uin int64, passwordMd5 [16]byte) *QQClient + func (c *QQClient) AddGroupNoticeSimple(groupCode int64, text string) error + func (c *QQClient) AddGroupNoticeWithPic(groupCode int64, text string, pic []byte) error + func (c *QQClient) CheckUrlSafely(url string) UrlSecurityLevel + func (c *QQClient) ConnectionQualityTest() *ConnectionQualityInfo + func (c *QQClient) DelGroupNotice(groupCode int64, fid string) error + func (c *QQClient) DeleteEssenceMessage(groupCode int64, msgID, msgInternalId int32) error + func (c *QQClient) DeleteFriend(uin int64) error + func (c *QQClient) DeleteUnidirectionalFriend(uin int64) error + func (c *QQClient) Disconnect() + func (c *QQClient) DownloadForwardMessage(resId string) *message.ForwardElement + func (c *QQClient) FetchQRCode() (*QRCodeLoginResponse, error) + func (c *QQClient) FetchQRCodeCustomSize(size, margin, ecLevel uint32) (*QRCodeLoginResponse, error) + func (c *QQClient) FindFriend(uin int64) *FriendInfo + func (c *QQClient) FindGroup(code int64) *GroupInfo + func (c *QQClient) FindGroupByUin(uin int64) *GroupInfo + func (c *QQClient) GenToken() []byte + func (c *QQClient) GetAllowedClients() ([]*OtherClientInfo, error) + func (c *QQClient) GetAtAllRemain(groupCode int64) (*AtAllRemainInfo, error) + func (c *QQClient) GetCustomFaces() ([]*CustomFace, error) + func (c *QQClient) GetForwardMessage(resID string) *message.ForwardMessage + func (c *QQClient) GetFriendList() (*FriendListResponse, error) + func (c *QQClient) GetGroupEssenceMsgList(groupCode int64) ([]GroupDigest, error) + func (c *QQClient) GetGroupFileSystem(groupCode int64) (fs *GroupFileSystem, err error) + func (c *QQClient) GetGroupFileUrl(groupCode int64, fileId string, busId int32) string + func (c *QQClient) GetGroupHonorInfo(groupCode int64, honorType HonorType) (*GroupHonorInfo, error) + func (c *QQClient) GetGroupImageDownloadUrl(fileId, groupCode int64, fileMd5 []byte) (string, error) + func (c *QQClient) GetGroupInfo(groupCode int64) (*GroupInfo, error) + func (c *QQClient) GetGroupList() ([]*GroupInfo, error) + func (c *QQClient) GetGroupMembers(group *GroupInfo) ([]*GroupMemberInfo, error) + func (c *QQClient) GetGroupMessages(groupCode, beginSeq, endSeq int64) ([]*message.GroupMessage, error) + func (c *QQClient) GetGroupNotice(groupCode int64) (l []*GroupNoticeMessage, err error) + func (c *QQClient) GetGroupSystemMessages() (*GroupSystemMessages, error) + func (c *QQClient) GetMemberInfo(groupCode, memberUin int64) (*GroupMemberInfo, error) + func (c *QQClient) GetModelShow(modelName string) ([]*ModelVariant, error) + func (c *QQClient) GetShortVideoUrl(uuid, md5 []byte) string + func (c *QQClient) GetStatistics() *Statistics + func (c *QQClient) GetSummaryInfo(target int64) (*SummaryCardInfo, error) + func (c *QQClient) GetTts(text string) ([]byte, error) + func (c *QQClient) GetUnidirectionalFriendList() (ret []*UnidirectionalFriendInfo, err error) + func (c *QQClient) GetWordSegmentation(text string) ([]string, error) + func (c *QQClient) ImageOcr(img any) (*OcrResponse, error) + func (c *QQClient) Login() (*LoginResponse, error) + func (c *QQClient) MarkGroupMessageReaded(groupCode, seq int64) + func (c *QQClient) MarkPrivateMessageReaded(uin, time int64) + func (c *QQClient) NewForwardMessageBuilder(groupCode int64) *ForwardMessageBuilder + func (c *QQClient) OnServerUpdated(f func(*QQClient, *ServerUpdatedEvent) bool) + func (c *QQClient) QRCodeLogin(info *QRCodeLoginInfo) (*LoginResponse, error) + func (c *QQClient) QueryFriendImage(target int64, hash []byte, size int32) (*message.FriendImageElement, error) + func (c *QQClient) QueryGroupImage(groupCode int64, hash []byte, size int32) (*message.GroupImageElement, error) + func (c *QQClient) QueryQRCodeStatus(sig []byte) (*QRCodeLoginResponse, error) + func (c *QQClient) RecallGroupMessage(groupCode int64, msgID, msgInternalId int32) error + func (c *QQClient) RecallPrivateMessage(uin, ts int64, msgID, msgInternalId int32) error + func (c *QQClient) RefreshStatus() error + func (c *QQClient) Release() + func (c *QQClient) ReloadFriendList() error + func (c *QQClient) ReloadGroupList() error + func (c *QQClient) RequestSMS() bool + func (c *QQClient) SearchGroupByKeyword(keyword string) ([]GroupSearchInfo, error) + func (c *QQClient) SendFriendMusicShare(target int64, msg *message.MusicShareElement) + func (c *QQClient) SendFriendPoke(target int64) + func (c *QQClient) SendGroupForwardMessage(groupCode int64, m *message.ForwardElement) *message.GroupMessage + func (c *QQClient) SendGroupMessage(groupCode int64, m *message.SendingMessage) *message.GroupMessage + func (c *QQClient) SendGroupMusicShare(target int64, msg *message.MusicShareElement) (*message.GroupMessage, error) + func (c *QQClient) SendGroupPoke(groupCode, target int64) + func (c *QQClient) SendGroupSign(target int64) + func (c *QQClient) SendGroupTempMessage(groupCode, target int64, m *message.SendingMessage) *message.TempMessage + func (c *QQClient) SendGuildMusicShare(guildID, channelID uint64, msg *message.MusicShareElement) + func (c *QQClient) SendLike(userID int64, times int32) + func (c *QQClient) SendPrivateMessage(target int64, m *message.SendingMessage) *message.PrivateMessage + func (c *QQClient) SetCustomServer(servers []netip.AddrPort) + func (c *QQClient) SetEssenceMessage(groupCode int64, msgID, msgInternalId int32) error + func (c *QQClient) SetLogger(logger Logger) + func (c *QQClient) SetModelShow(modelName string, modelShow string) error + func (c *QQClient) SetOnlineStatus(s UserOnlineStatus) + func (c *QQClient) SolveFriendRequest(req *NewFriendRequest, accept bool) + func (c *QQClient) SolveGroupJoinRequest(i any, accept, block bool, reason string) + func (c *QQClient) SubmitCaptcha(result string, sign []byte) (*LoginResponse, error) + func (c *QQClient) SubmitSMS(code string) (*LoginResponse, error) + func (c *QQClient) SubmitTicket(ticket string) (*LoginResponse, error) + func (c *QQClient) SubscribeEventHandler(handler any) + func (c *QQClient) SyncSessions() (*SessionSyncResponse, error) + func (c *QQClient) TokenLogin(token []byte) error + func (c *QQClient) Translate(src, dst, text string) (string, error) + func (c *QQClient) UpdateProfile(profile ProfileDetailUpdate) + func (c *QQClient) UploadFile(target message.Source, file *LocalFile) error + func (c *QQClient) UploadGroupImage(groupCode int64, img io.ReadSeeker, thread ...int) (*message.GroupImageElement, error) + func (c *QQClient) UploadImage(target message.Source, img io.ReadSeeker, thread ...int) (message.IMessageElement, error) + func (c *QQClient) UploadPrivateImage(target int64, img io.ReadSeeker) (*message.FriendImageElement, error) + func (c *QQClient) UploadShortVideo(target message.Source, video, thumb io.ReadSeeker, thread int) (*message.ShortVideoElement, error) + func (c *QQClient) UploadVoice(target message.Source, voice io.ReadSeeker) (*message.GroupVoiceElement, error) + func (c *QQClient) UseDevice(info *auth.Device) + type QRCodeLoginInfo struct + type QRCodeLoginResponse struct + ImageData []byte + LoginInfo *QRCodeLoginInfo + Sig []byte + State QRCodeLoginState + type QRCodeLoginState int + type QiDianAccountInfo struct + CreateTime int64 + ExtName string + MasterUin int64 + type ServerUpdatedEvent struct + Servers []jce.SsoServerInfo + type SessionSyncResponse struct + GroupSessions []*GroupSessionInfo + type Statistics struct + DisconnectTimes atomic.Uint32 + LastMessageTime atomic.Int64 + LostTimes atomic.Uint32 + MessageReceived atomic.Uint64 + MessageSent atomic.Uint64 + PacketLost atomic.Uint64 + PacketReceived atomic.Uint64 + PacketSent atomic.Uint64 + func (m *Statistics) MarshalJSON() ([]byte, error) + type SummaryCardInfo struct + Age uint8 + City string + Level int32 + LoginDays int64 + Mobile string + Nickname string + Qid string + Sex byte + Sign string + Uin int64 + VipLevel string + type TempMessageEvent struct + Message *message.TempMessage + Session *TempSessionInfo + type TempSessionInfo struct + GroupCode int64 + Sender int64 + Source TempSessionSource + func (s *TempSessionInfo) SendMessage(m *message.SendingMessage) (*message.TempMessage, error) + type TempSessionSource int + const AddressBookSource + const ConsultingSource + const DateSource + const GroupSource + const HotChatSource + const MovieSource + const MultiChatSource + const SearchSource + const SystemMessageSource + type TextDetection struct + Confidence int32 + Coordinates []*Coordinate + Text string + type UnidirectionalFriendInfo struct + Age uint32 + Nickname string + Source string + Uin int64 + type UrlSecurityLevel int + const Danger + const Safe + const Unknown + type UserJoinGroupRequest struct + ActionUin int64 + ActionUinNick string + Actor int64 + Checked bool + GroupCode int64 + GroupName string + Message string + RequestId int64 + RequesterNick string + RequesterUin int64 + Suspicious bool + func (r *UserJoinGroupRequest) Accept() + func (r *UserJoinGroupRequest) Reject(block bool, reason string) + type UserOnlineStatus int + type Version = auth.OSVersion