Class GroupRecallEvent

    • Constructor Detail

      • GroupRecallEvent

        public GroupRecallEvent​(Bot bot,
                                Member member,
                                int[] messageIds,
                                @Nullable 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

        public @NonNull Member getMember()
      • getMessageIds

        public int[] getMessageIds()
      • getGroup

        public @NonNull Group getGroup()
        Get the Group where the member recalls the message
        Returns:
        the Group where the member recalls the message
      • getOperator

        public @Nullable Member getOperator()