MiraiForum

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

    Solved 2.5版本机器人撤回群员消息

    开发交流
    2
    3
    228
    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.
    • T
      TihPct last edited by

      平台:java
      版本:2.5
      在1.X版本中,BOT对象有提供一个recall方法,传入messageSource即可撤回,但在2.5版本,BOT对象并没有提供此方法,请问2.5版本,java平台该如何撤回群员消息

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

        MessageSource.recall(source);
        
        T 1 Reply Last reply Reply Quote 1
        • Karlatemp
          Karlatemp last edited by

          MessageSource.recall(source);
          
          T 1 Reply Last reply Reply Quote 1
          • T
            TihPct @Karlatemp last edited by

            @karlatemp 好的,谢谢大佬:hugging_face:

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