Class GroupRecallEvent

    • Constructor Detail

      • GroupRecallEvent

        public GroupRecallEvent​(Bot bot,
                                net.mamoe.mirai.contact.Member member,
                                int[] messageIds,
                                net.mamoe.mirai.contact.Member operator)
        Constructs a GroupRecallEvent
        Parameters:
        bot - the bot
        member - the member who send the message
        messageIds - the message ids
        operator - the member who recalls the message
    • Method Detail

      • getMember

        @NotNull
        public net.mamoe.mirai.contact.Member getMember()
      • getMessageIds

        public int[] getMessageIds()
      • getGroup

        @NotNull
        public net.mamoe.mirai.contact.Group getGroup()
        Get the Group where the member recalls the message
        Returns:
        the Group where the member recalls the message
      • getOperator

        @NotNull
        public net.mamoe.mirai.contact.Member getOperator()