public interface InterActionEvent extends Event, Sender
| Modifier and Type | Method and Description |
|---|---|
Integer |
getChatType()
0 频道场景,1 群聊场景,2 单聊场景
|
default String |
getClassName() |
InterAction |
getInterAction()
获得数据
|
void |
response(int code)
响应
0 成功 1 操作失败 2 操作频繁 3 重复操作 4 没有权限 5 仅管理员操作
测试未知异常 暂不可用 |
getBot, getMetadataInteger getChatType()
InterAction getInterAction()
void response(int code)
code - default String getClassName()
getClassName in interface EventCopyright © 2024. All rights reserved.