Documentation ¶
Index ¶
- func At(qq int64, name string) string
- func CanSendImage(Address string) response
- func CanSendRecord(Address string) response
- func Cardimage(file string, minwidth int64, minheight int64, maxwidth int64, maxheight int64, ...) string
- func CheckUrlSafely(Address string, Url string) response
- func DeleteEssenceMsg(Address string, MessageId int32) response
- func DeleteFriend(Address string, FriendId int64) response
- func DeleteMsg(Address string, MessageId int32) response
- func DownloadFile(Address string, Url string, ThreadCount int32, Headers string) response
- func Face(id int) string
- func Forward(id string) string
- func GetEssenceMsgList(Address string, GroupId int64) _response
- func GetForwardMsg(Address string, MessageId int32) response
- func GetFriendList(Address string) _response
- func GetGroupAtAllRemain(Address string, GroupId int64) response
- func GetGroupFileSystemInfo(Address string, GroupId int64) response
- func GetGroupFilesByFolder(Address string, GroupId int64, FolderId string) response
- func GetGroupFilesUrl(Address string, GroupId int64, FileId string, Busid int32) response
- func GetGroupHonorInfo(Address string, GroupId int64, Type string)
- func GetGroupInfo(Address string, GroupId int64, NoCache bool) response
- func GetGroupList(Address string) _response
- func GetGroupMemberInfo(Address string, GroupId int64, UserId int64, NoCache bool) response
- func GetGroupMemberList(Address string, GroupId int64) _response
- func GetGroupMsgHistory(Address string, GroupId int64, MessageSeq int64) response
- func GetGroupRootFiles(Address string, GroupId int64) response
- func GetGroupSystemMessage(Address string) response
- func GetImage(Address string, file string) response
- func GetLoginInfo(Address string) response
- func GetModelShow(Address string, Model string) response
- func GetMsg(Address string, MessageId int32) response
- func GetOnlineClients(Address string, NoCache bool) response
- func GetStatus(Address string) response
- func GetStrangerInfo(Address string, UserId int64, NoCache bool) response
- func GetVersionInfo(Address string) response
- func GetVipInfo(Address string, UserId int64) response
- func GetWordSlice(Address string, Content string) response
- func Gift(qq int64, id int) string
- func HandleQuickOperation(Address string, Context string, Operation string) response
- func Image(file string, _type string, subType string, url string, cache bool, id int, ...) string
- func Json(data string, resid int32) string
- func Music(_type string, id int64, url string, audio string, title string, content string, ...) string
- func OcrImage(Address string, Image string) response
- func Poke(qq int64) string
- func QidianGetAccountInfo(Address string) response
- func Record(file string, magic bool, cache bool, proxy bool, timeout int) string
- func Redbag(title string) string
- func ReloadEventFilter(Address string, File string) response
- func Reply(id int, text string, qq int64, time int64, seq int64) string
- func SendGroupForwardMsg(Address string, GroupId int64, Messages string, AutoEscape bool) response
- func SendGroupMsg(Address string, GroupId int64, Message string, AutoEscape bool) response
- func SendGroupNotice(Address string, GroupId int64, Content string, Image string) response
- func SendMsg(Address string, MessageType string, UserId int64, GroupId int64, ...) response
- func SendPrivateMsg(Address string, UserId int64, GroupId int64, Message string, AutoEscape bool) response
- func SetEssenceMsg(Address string, MessageId int32) response
- func SetFriendAddRequest(Address string, Flag string, Approve bool, Remark string) response
- func SetGroupAddRequest(Address string, Flag string, SubType string, Approve bool, Reason string) response
- func SetGroupAdmin(Address string, GroupId int64, UserId int64, Enable bool) response
- func SetGroupAnonymous(Address string, GroupId int64, Enable bool) response
- func SetGroupAnonymousBan(Address string, GroupId int64, Anonymous anonymous, Flag string, Duration int) response
- func SetGroupBan(Address string, GroupId int64, UserId int64, Duration int) response
- func SetGroupCard(Address string, GroupId int64, UserId int64, card string) response
- func SetGroupKick(Address string, GroupId int64, UserId int64, RejectAddRequest bool) response
- func SetGroupLeave(Address string, GroupId int64, IsDismiss bool) response
- func SetGroupName(Address string, GroupId int64, GroupName string) response
- func SetGroupPortrait(Address string, GroupId int64, File string, Cache int) response
- func SetGroupSpecialTitle(Address string, GroupId int64, UserId int64, SpecialTitle string, Duration int) response
- func SetGroupWholeBan(Address string, GroupId int64, Enable bool) response
- func SetModelShow(Address string, Model string, ModelShow string) response
- func SetRestart(Address string) response
- func Share(url string, title string, content string, image string) string
- func Tts(text string) string
- func UploadGroupFile(Address string, GroupId int64, File string, Name string, Folder string) response
- func Video(file string, cover string, c int) string
- func Xml(data string, resid int32) string
- type Client
- type Event
- type File
- type Folder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUrlSafely ¶
CheckUrlSafely 检查链接安全性
func DeleteEssenceMsg ¶
DeleteEssenceMsg 移出精华消息
func DownloadFile ¶
DownloadFile 下载文件到缓存目录
func GetEssenceMsgList ¶
GetEssenceMsgList 获取精华消息列表
func GetForwardMsg ¶
GetForwardMsg 获取合并转发内容
func GetGroupAtAllRemain ¶
GetGroupAtAllRemain 获取群 @全体成员 剩余次数
func GetGroupFileSystemInfo ¶
GetGroupFileSystemInfo 获取群文件系统信息
func GetGroupFilesByFolder ¶
GetGroupFilesByFolder 获取群子目录文件列表
func GetGroupFilesUrl ¶
GetGroupFilesUrl 获取群文件资源链接
func GetGroupHonorInfo ¶
GetGroupHonorInfo 获取群荣誉信息
func GetGroupInfo ¶
GetGroupInfo 获取群信息
func GetGroupMemberInfo ¶
GetGroupMemberInfo 获取群成员信息
func GetGroupMemberList ¶
GetGroupMemberList 获取群成员列表
func GetGroupMsgHistory ¶
GetGroupMsgHistory 获取群消息历史记录
func GetGroupRootFiles ¶
GetGroupRootFiles 获取群根目录文件列表
func GetGroupSystemMessage ¶
func GetGroupSystemMessage(Address string) response
GetGroupSystemMessage 获取群系统消息
func GetOnlineClients ¶
GetOnlineClients 获取当前账号在线客户端列表
func GetStrangerInfo ¶
GetStrangerInfo 获取陌生人信息
func GetWordSlice ¶
GetWordSlices 获取中文分词 ( 隐藏 API )
func HandleQuickOperation ¶
HandleQuickOperation 对事件执行快速操作 ( 隐藏 API )
func QidianGetAccountInfo ¶
func QidianGetAccountInfo(Address string) response
QidianGetAccountInfo 获取企点账号信息
func ReloadEventFilter ¶
ReloadEventFilter 重载事件过滤器
func SendGroupForwardMsg ¶
SendGroupForwardMsg 发送合并转发 ( 群 )
func SendGroupMsg ¶
SendGroupMsg 发送群消息
func SendGroupNotice ¶
SendGroupNotice 发送群公告
func SendMsg ¶
func SendMsg(Address string, MessageType string, UserId int64, GroupId int64, Message string, AutoEscape bool) response
SendMsg 发送消息
func SendPrivateMsg ¶
func SendPrivateMsg(Address string, UserId int64, GroupId int64, Message string, AutoEscape bool) response
SendPrivateMsg 发送私聊消息
func SetEssenceMsg ¶
SetEssenceMsg 设置精华消息
func SetFriendAddRequest ¶
SetFriendAddRequest 处理加好友请求
func SetGroupAddRequest ¶
func SetGroupAddRequest(Address string, Flag string, SubType string, Approve bool, Reason string) response
SetGroupAddRequest 处理加群请求/邀请
func SetGroupAdmin ¶
SetGroupAdmin 群组设置管理员
func SetGroupAnonymous ¶
SetGroupAnonymous 群组匿名
func SetGroupAnonymousBan ¶
func SetGroupAnonymousBan(Address string, GroupId int64, Anonymous anonymous, Flag string, Duration int) response
SetGroupAnonymousBan 群组匿名用户禁言
func SetGroupBan ¶
SetGroupBan 群组单人禁言
func SetGroupCard ¶
SetGroupCard 设置群名片 ( 群备注 )
func SetGroupKick ¶
SetGroupKick 群组踢人
func SetGroupLeave ¶
SetGroupLeave 退出群组
func SetGroupName ¶
SetGroupName 设置群名
func SetGroupPortrait ¶
SetGroupPortrait 设置群头像
func SetGroupSpecialTitle ¶
func SetGroupSpecialTitle(Address string, GroupId int64, UserId int64, SpecialTitle string, Duration int) response
SetGroupSpecialTitle 设置群组专属头衔
func SetGroupWholeBan ¶
SetGroupWholeBan 群组全员禁言
func SetModelShow ¶
SetModelShow 设置在线机型
Types ¶
type Event ¶
type Event struct { Anonymous anonymous `json:"anonymous"` CardNew string `json:"card_new"` CardOld string `json:"card_old"` Client string `json:"client"` Comment string `json:"comment"` Duration int64 `json:"duration"` File file `json:"file"` Flag string `json:"flag"` Font int32 `json:"font"` GroupId int64 `json:"group_id"` Message string `json:"message"` MessageID int32 `json:"message_id"` MessageSeq int32 `json:"message_seq"` MessageType string `json:"message_type"` NoticeType string `json:"notice_type"` Online bool `json:"online"` OperatorID int64 `json:"operator_id"` PostType string `json:"post_type"` RawMessage string `json:"raw_message"` RequestType string `json:"request_type"` SelfID int64 `json:"self_id"` Sender sender `json:"sender"` SenderID int64 `json:"sender_id"` SubType string `json:"sub_type"` TargetID int64 `json:"target_id"` TempSource int `json:"temp_source"` Time int64 `json:"time"` Title string `json:"title"` UserID int64 `json:"user_id"` }
type File ¶
type File struct { Busid int32 `json:"busid"` DeadTime int64 `json:"dead_time"` DownloadTimes int32 `json:"download_times"` FileID string `json:"file_id"` FileName string `json:"file_name"` FileSize int64 `json:"file_size"` GroupID int32 `json:"group_id"` ModifyTime int64 `json:"modify_time"` Uploader int64 `json:"uploader"` UploaderName string `json:"uploader_name"` UploadTime int64 `json:"upload_time"` }