MiraiForum

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

    [消息引用] 怎么定位群成员的消息,然后引用该条消息

    开发交流
    1
    2
    77
    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.
    • H
      h906478231 last edited by

      目前只知道引用当前发消息的成员的消息,但是不知道怎么去引用过往群成员的消息, 看到MessageSourceBuilder可以根据几个参数定位消息源,但是好像没有起作用,求大佬解答

      1 Reply Last reply Reply Quote 0
      • H
        h906478231 last edited by

        已经解决了,MessageSourceBuilder是有用的根据参数可以定位消息源,然后构造引用消息回复,

        image.png

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