Package | Description |
---|---|
com.forte.qqrobot.beans.messages |
所有消息的规范定义接口
2019/8/1 : - 为所有获取消息、监听消息增加抽象类实现,以默认实现toString()方法并简化开发工作量 |
com.forte.qqrobot.beans.messages.msgget | |
com.forte.qqrobot.beans.messages.result | |
com.forte.qqrobot.beans.messages.result.inner | |
com.forte.qqrobot.bot | |
com.forte.qqrobot.sender |
此包下定义所有sender相关方法接口并提供一个汇总接口。
其中, SenderGetList
SenderSendList
SenderSetList
这三个接口均继承SenderList 接口,其余接口均作为汇总或增强接口,不会直接使用。
接口中所有返回值为布尔类型的方法若无特殊标注则均代表方法的执行成功与否。 |
com.forte.qqrobot.sender.senderlist |
Modifier and Type | Interface and Description |
---|---|
interface |
CodesAble
同时实现两个接口
QQCodeAble , GroupCodeAble |
Modifier and Type | Interface and Description |
---|---|
interface |
DiscussMsg
讨论组消息
|
interface |
FriendAdd
好友已经添加事件
|
interface |
FriendAddRequest
好友添加申请事件
|
interface |
GroupAddRequest
群添加请求事件
|
interface |
GroupAdminChange
群管理员变动事件
|
interface |
GroupBan
群禁言事件
|
interface |
GroupFileUpload
群文件上传事件
|
interface |
GroupMemberIncrease
群成员增加
|
interface |
GroupMemberReduce
群成员减少事件
|
interface |
GroupMsg
群消息
|
interface |
GroupMsgDelete
群消息撤回事件
|
interface |
PrivateMsg
私信消息
|
interface |
PrivateMsgDelete
私信消息撤回
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDiscussMsg
DiscussMsg对应的抽象类
|
class |
AbstractFriendAdd |
class |
AbstractFriendAddRequest
FriendAddRequest对应抽象类
|
class |
AbstractGroupAddRequest
GroupAddRequest 对应抽象类
|
class |
AbstractGroupAdminChange
GroupAdminChange 对应抽象类
|
class |
AbstractGroupBan
群禁言事件对应抽象类
|
class |
AbstractGroupFileUpload
GroupFileUpload对应抽象类
|
class |
AbstractGroupMemberIncrease
GroupMemberIncrease 对应抽象类
|
class |
AbstractGroupMemberReduce
GroupMemberReduce对应抽象类
|
class |
AbstractGroupMsg
GroupMsg 对应抽象类
|
class |
AbstractPrivateMsg
PrivateMsg接口的抽象类
|
Modifier and Type | Interface and Description |
---|---|
interface |
GroupMemberInfo
群成员信息
|
interface |
LoginQQInfo
登录的QQ的信息
|
interface |
StrangerInfo
陌生人信息
TODO 似乎提供COOKIE可以获取更多信息
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGroupMemberInfo |
class |
AbstractLoginInfo
登录信息
|
class |
AbstractLoginQQInfo |
class |
AbstractStrangerInfo |
Modifier and Type | Interface and Description |
---|---|
interface |
BanInfo
禁言详细信息
|
interface |
Friend
好友信息
|
interface |
GroupMember
群成员信息
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBanInfo
BanInfo对应的抽象类
|
class |
AbstractFriend
Friend对应抽象类
|
class |
AbstractGroupMember
GroupMember 的抽象类
|
Modifier and Type | Interface and Description |
---|---|
interface |
LoginInfo
登录后的信息,为LoginQQInfo的子接口并计划替代LoginQQInfo接口
|
Modifier and Type | Method and Description |
---|---|
StrangerInfo |
MsgSender.getPersonInfo(QQCodeAble codeAble)
通过携带QQ号信息的对象来获取信息
|
Modifier and Type | Method and Description |
---|---|
default GroupMemberInfo |
SenderGetList.getGroupMemberInfo(GroupCodeAble group,
QQCodeAble QQ)
取群成员信息 使用缓存
|
default GroupMemberInfo |
SenderGetList.getGroupMemberInfo(GroupCodeAble group,
QQCodeAble QQ,
boolean cache)
取群成员信息 使用缓存
|
default StrangerInfo |
SenderGetList.getStrangerInfo(QQCodeAble QQ)
取陌生人信息 使用缓存
|
default StrangerInfo |
SenderGetList.getStrangerInfo(QQCodeAble QQ,
boolean cache)
取陌生人信息
|
default boolean |
SenderSendList.sendFlower(GroupCodeAble group,
QQCodeAble qq)
送花
|
default boolean |
SenderSendList.sendLike(QQCodeAble qq,
int times)
发送名片赞
|
default String |
SenderSendList.sendPrivateMsg(QQCodeAble qqCode,
String msg)
发送私聊信息
|
default boolean |
SenderSetList.setGroupAdmin(GroupCodeAble group,
QQCodeAble qq,
boolean set)
设置群管理员
|
default boolean |
SenderSetList.setGroupBan(GroupCodeAble group,
QQCodeAble QQ,
long time)
设置群禁言
|
default boolean |
SenderSetList.setGroupCard(GroupCodeAble group,
QQCodeAble QQ,
String card)
设置群成员名片
|
default boolean |
SenderSetList.setGroupExclusiveTitle(GroupCodeAble group,
QQCodeAble QQ,
String title,
long time)
设置群成员专属头衔
|
default boolean |
SenderSetList.setGroupMemberKick(GroupCodeAble group,
QQCodeAble QQ,
boolean dontBack)
踢出群成员
|
Copyright © 2020. All rights reserved.