ProtobufBot / pbbot-spring-boot-starter

QQ机器人的spring boot starter,推荐基于这个进行快速开发。本项目使用MIT协议,如果Client选择Mirai请使用AGPLv3协议。
MIT License
67 stars 16 forks source link

能否在Msg中添加构造合并转发消息的函数? #4

Closed Punizione closed 3 years ago

Punizione commented 3 years ago

rt,mirai-core中有相应的类 net.mamoe.mirai.message.data.ForwardMessage 可以支持自定义合并转发消息,想问下能否以MessageChain的方式构造成一个合并转发形式,谢谢!

lz1998 commented 3 years ago

rt,mirai-core中有相应的类 net.mamoe.mirai.message.data.ForwardMessage 可以支持自定义合并转发消息,想问下能否以MessageChain的方式构造成一个合并转发形式,谢谢!

现在是基于onebot protobuf协议和QQ客户端进行通信的,暂时没有合并转发的功能,等onebot v12出来以后可能可以

Punizione commented 3 years ago

rt,mirai-core中有相应的类 net.mamoe.mirai.message.data.ForwardMessage 可以支持自定义合并转发消息,想问下能否以MessageChain的方式构造成一个合并转发形式,谢谢!

现在是基于onebot protobuf协议和QQ客户端进行通信的,暂时没有合并转发的功能,等onebot v12出来以后可能可以

谢谢解答