Versions in this module Expand all Collapse all v2 v2.1.0-pre1 Jan 18, 2020 v2.0.1 Dec 21, 2019 v2.0.0 Dec 20, 2019 Changes in this version + const Debug + const Error + const Fatal + const Info + const InfoRecv + const InfoSend + const InfoSuccess + const Warning + var AppID string + var Disable func() int32 + var DiscussMsg func(subType, msgID int32, fromDiscuss, fromQQ int64, msg string, font int32) int32 + var Enable func() int32 + var Exit func() int32 + var FriendAdd func(subType, sendTime int32, fromQQ int64) int32 + var FriendRequest func(subType, sendTime int32, fromQQ int64, msg, responseFlag string) int32 + var GroupAdmin func(subType, sendTime int32, fromGroup, QQ int64) int32 + var GroupMemberDecrease func(subType, sendTime int32, fromGroup, fromQQ, beingOperateQQ int64) int32 + var GroupMemberIncrease func(subType, sendTime int32, fromGroup, fromQQ, beingOperateQQ int64) int32 + var GroupMsg func(subType, msgID int32, fromGroup, fromQQ int64, fromAnonymous, msg string, ...) int32 + var GroupRequest func(subType, sendTime int32, fromGroup, fromQQ int64, msg, responseFlag string) int32 + var GroupUpload func(subType, sendTime int32, fromGroup, fromQQ int64, file string) int32 + var PrivateMsg func(subType, msgID int32, fromQQ int64, msg string, font int32) int32 + var Start func() int32 + func AddLog(p Priority, logType, reason string) int32 + func CanSendImage() bool + func CanSendRecord() bool + func DeleteMsg(msgID int64) int32 + func GetAppDir() string + func GetCSRFToken() int32 + func GetCookies() string + func GetCookiesV2(domain string) string + func GetImage(file string) string + func GetLoginNick() string + func GetLoginQQ() int64 + func GetRecord(file, format string) string + func GetRecordV2(file, format string) string + func GetStrangerInfo(qq int64, noCatch bool) string + func SendDiscussMsg(discuss int64, msg string) int32 + func SendGroupMsg(group int64, msg string) int32 + func SendLike(qq int64) int32 + func SendLike2(qq int64, times int32) int32 + func SendPrivateMsg(qq int64, msg string) int32 + func SetDiscussLeave(discuss int64) int32 + func SetFriendAddRequest(ReqFeedback string, FeedbackType int32, remark string) int32 + func SetGroupAddRequest(ReqFeedback string, ReqType, FeedbackType int32) int32 + func SetGroupAddRequest2(ReqFeedback string, ReqType, FeedbackType int32, reason string) int32 + func SetGroupAdmin(group, qq int64, admin bool) int32 + func SetGroupAnonymous(group int64, anonymous bool) int32 + func SetGroupAnonymousBan(group int64, anonymous string, time int64) int32 + func SetGroupBan(group, qq, bantime int64) int32 + func SetGroupCard(group, qq int64, card string) int32 + func SetGroupKick(group, qq int64, rej bool) int32 + func SetGroupLeave(group int64, dissolve bool) int32 + func SetGroupSpecialTitle(group, qq int64, title string, timeout int64) int32 + func SetGroupWholeBan(group int64, ban bool) int32 + func SetRestart() int32 + type FriendInfo struct + Alias string + Name string + QQ int64 + func GetFriendList() []FriendInfo + func UnpackFriendList(str string) ([]FriendInfo, error) + type GroupDetail struct + MaxMemberNum int32 + MembersNum int32 + func GetGroupInfo(group int64, noCatch bool) GroupDetail + func UnpackGroupInfo(str string) (g GroupDetail, err error) + type GroupInfo struct + ID int64 + Name string + func GetGroupList() []GroupInfo + func UnpackGroupList(str string) ([]GroupInfo, error) + type GroupMember struct + Age int32 + Area string + Auth int32 + Bad bool + CanSetTitle bool + Card string + Gender int32 + Group int64 + JoinTime time.Time + LastChat time.Time + Level string + Name string + QQ int64 + Title string + TitleLife time.Time + func GetGroupMemberInfo(group, qq int64, noCatch bool) GroupMember + func GetGroupMemberList(group int64) []GroupMember + func UnpackGroupMemberInfo(str string) (m GroupMember, err error) + func UnpackGroupMemberList(str string) ([]GroupMember, error) + type Priority int32 Other modules containing this package github.com/Tnze/CoolQ-Golang-SDK