-
-
Field Summary
Fields Modifier and Type Field Description private final LongselfIdprivate WebSocketSessionbotSessionprivate ApiHandlerapiHandlerprivate final Loggerlog
-
Constructor Summary
Constructors Constructor Description GoCQBot(Long selfId, WebSocketSession botSession, ApiHandler apiHandler, Logger log)
-
Method Summary
Modifier and Type Method Description LonggetSelfId()WebSocketSessiongetBotSession()UnitsetBotSession(WebSocketSession botSession)ApiHandlergetApiHandler()UnitsetApiHandler(ApiHandler apiHandler)LoggergetLog()-
Methods inherited from class top.nkdark.gocq.bot.Bot
callCustomApi, canSendImage, canSendRecord, checkUrlSafely, createGroupFileFolder, createGuildRole, deleteEssenceMsg, deleteFriend, deleteGroupFile, deleteGroupFolder, deleteGuildRole, deleteMsg, deleteUnidirectionalFriend, downloadFile, downloadFile, downloadFile, downloadFile, getEssenceMsgList, getForwardMsg, getFriendList, getGroupAtAllRemain, getGroupFileSystemInfo, getGroupFileUrl, getGroupFilesByFolder, getGroupHonorInfo, getGroupInfo, getGroupList, getGroupMemberInfo, getGroupMemberList, getGroupMsgHistory, getGroupNotice, getGroupRootFiles, getGroupSystemMsg, getGuildChannelList, getGuildList, getGuildMemberList, getGuildMemberProfile, getGuildMetaByGuest, getGuildMsg, getGuildRoles, getGuildServiceProfile, getImage, getLoginInfo, getModelShow, getMsg, getOnlineClients, getQiDianAccountInfo, getStatus, getStrangerInfo, getTopicChannelFeeds, getUnidirectionalFriendList, getVersionInfo, markMsgAsRead, ocrImage, reloadEventFilter, sendGroupForwardMsg, sendGroupMsg, sendGroupNotice, sendGroupSign, sendGuildChannelMsg, sendMsg, sendPrivateForwardMsg, sendPrivateMsg, setEssenceMsg, setFriendAddRequest, setGroupAddRequest, setGroupAdmin, setGroupAnonymousBan, setGroupBan, setGroupCard, setGroupKick, setGroupLeave, setGroupName, setGroupPortrait, setGroupSpecialTitle, setGroupWholeBan, setGuildMemberRole, setModelShow, setQQProfile, setRestart, updateGuildRole, uploadGroupFile, uploadPrivateFile -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GoCQBot
GoCQBot(Long selfId, WebSocketSession botSession, ApiHandler apiHandler, Logger log)
-
-
Method Detail
-
getBotSession
WebSocketSession getBotSession()
-
setBotSession
Unit setBotSession(WebSocketSession botSession)
-
getApiHandler
ApiHandler getApiHandler()
-
setApiHandler
Unit setApiHandler(ApiHandler apiHandler)
-
getLog
Logger getLog()
-
-
-
-