Documentation
¶
Index ¶
- Constants
- Variables
- func AddLog(p int32, h string, msg string) int32
- func DeleteMsg(message_id int64) int32
- func Gb18030(c string) *C.char
- func GetAppDirectory() string
- func GetCookies() string
- func GetCsrfToken() int32
- func GetGroupMemberInfo(group_id int64, qq int64, oncache bool) string
- func GetLoginNick() string
- func GetLoginQQ() int64
- func GetRecord(file string, outformat string) string
- func GetStrangerInfo(qq int64, oncache bool) string
- func SendDiscussMsg(discuss_id int64, message string) int32
- func SendGroupMsg(group_id int64, message string) int32
- func SendLike(qq int64) int32
- func SendPrivateMsg(from_qq int64, message string) int32
- func SetAuthCode(c int32)
- func SetDiscussLeave(discuss_id int64) int32
- func SetFatal(message string) int32
- func SetFriendAddRequest(responseflag string, responseoperation int32, remark string) int32
- func SetGroupAddRequest(responseflag string, requesttype int32, responseoperation int32, reason string) int32
- func SetGroupAdmin(group_id int64, qq int64, isadmin bool) int32
- func SetGroupAnonymous(group_id int64, enableanomymous bool) int32
- func SetGroupAnonymousBan(group_id int64, anomymous string, duration int64) int32
- func SetGroupBan(group_id int64, qq int64, duration int64) int32
- func SetGroupCard(group_id int64, qq int64, newcard string) int32
- func SetGroupKick(group_id int64, qq int64, rejectaddrequest bool) int32
- func SetGroupLeave(group_id int64, isdismiss bool) int32
- func SetGroupSpecialTitle(group_id int64, qq int64, title string, duration int64) int32
- func SetGroupWholeBan(group_id int64, enableban bool) int32
- func Utf8(c string) string
Constants ¶
View Source
const ( EVENT_IGNORE = iota //忽略事件 EVENT_BLOCK //拦截事件 REQUEST_ALLOW = iota + 1 //请求_通过 REQUEST_DENY //请求_拒绝 REQUEST_GROUPADD = iota + 1 //请求_群添加 REQUEST_GROUPINVITE //请求_群邀请 CQLOG_DEBUG = 0 //调试 灰色 CQLOG_INFO = 10 //信息 黑色 CQLOG_INFOSUCCESS = 11 //信息(成功) 紫色 CQLOG_INFORECV = 12 //信息(接收) 蓝色 CQLOG_INFOSEND = 13 //信息(发送) 绿色 CQLOG_WARNING = 20 //警告 橙色 CQLOG_ERROR = 30 //错误 红色 CQLOG_FATAL = 40 //致命错误 深红 )
Variables ¶
View Source
var AUTHCODE C.int32_t
Functions ¶
func GetAppDirectory ¶
func GetAppDirectory() string
func GetCookies ¶
func GetCookies() string
func GetCsrfToken ¶
func GetCsrfToken() int32
func GetLoginNick ¶
func GetLoginNick() string
func GetLoginQQ ¶
func GetLoginQQ() int64
func GetStrangerInfo ¶
func SendDiscussMsg ¶
func SendGroupMsg ¶
func SendPrivateMsg ¶
func SetAuthCode ¶
func SetAuthCode(c int32)
func SetDiscussLeave ¶
func SetFriendAddRequest ¶
func SetGroupAddRequest ¶
func SetGroupAnonymous ¶
func SetGroupAnonymousBan ¶
func SetGroupLeave ¶
func SetGroupSpecialTitle ¶
func SetGroupWholeBan ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.