Class MessageReactionEvent

  • All Implemented Interfaces:
    net.mamoe.mirai.event.Event , net.mamoe.mirai.event.events.BotEvent

    
    public final class MessageReactionEvent
    extends AbstractEvent implements BotEvent
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Bot getBot() 机器人
      final Group getGroup() 群聊
      final NormalMember getOperator() 操作人,null 时为机器人
      final Integer getMessageId() 被操作的消息ID
      final String getReaction() 表情ID,详见 Overflow 开发文档
      final Integer getCount() 进行此操作后的表情总数
      final Boolean getOperation() 表情被添加还是移除true 为添加,false 为移除
      • Methods inherited from class net.mamoe.mirai.event.Event

        intercept, isIntercepted
      • Methods inherited from class net.mamoe.mirai.event.AbstractEvent

        cancel, isCancelled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait