MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    请问怎么获取被撤回的消息呢?(Java)

    开发交流
    4
    7
    638
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KyleCyaN
      KyleCyaN last edited by

      MessageRecallEvent事件对象里并没有获取被撤回的消息的方法……

      29475a01-b7c1-4d6d-975d-46782fd6b735-image.png

      1 Reply Last reply Reply Quote 0
      • KyleCyaN
        KyleCyaN last edited by

        我已经阅读了Mirai文档,但是没找到相关案例可供参考

        1 Reply Last reply Reply Quote 0
        • Karlatemp
          Karlatemp last edited by

          https://mirai.mamoe.net/topic/1758/

          KyleCyaN 1 Reply Last reply Reply Quote 1
          • KyleCyaN
            KyleCyaN @Karlatemp last edited by

            @Karlatemp 谢谢,我已经想到解决方法了。

            1 Reply Last reply Reply Quote 0
            • L
              LovelyKS-825 last edited by

              大佬实现了么

              MrXiaoM 1 Reply Last reply Reply Quote 0
              • MrXiaoM
                MrXiaoM 童心未泯 @LovelyKS-825 last edited by

                @LovelyKS-825 配合 Mirai Hibernate Plugin 自带的消息记录器,监听撤回事件。
                检测到撤回的时候在消息记录器搜索相关消息就行了。

                L 1 Reply Last reply Reply Quote 0
                • L
                  LovelyKS-825 @MrXiaoM last edited by

                  @MrXiaoM 好的,谢谢大佬

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact