Class GroupRequestEvent

    • Constructor Detail

      • GroupRequestEvent

        public GroupRequestEvent​(Bot bot,
                                 long id,
                                 String name,
                                 @Nullable net.mamoe.mirai.contact.Friend invitor)
        Constructs a GroupRecallEvent
        Parameters:
        bot - the bot
        id - the id of the group
        name - the name of the group
        invitor - the invitor of the request
    • Method Detail

      • getId

        public long getId()
      • getName

        public String getName()
      • getInvitor

        public @Nullable net.mamoe.mirai.contact.Friend getInvitor()
      • accept

        public void accept()
        Accept the request
      • ignore

        public void ignore()
        Ignore the request
      • getAccept

        public Boolean getAccept()