Commit 5c5670c6 authored by Him188's avatar Him188

Add QuoteReply

parent ce3ba66d
package net.mamoe.mirai.message.data
/**
* 消息源, 用于被引用. 它将由协议模块实现为 `MessageSourceImpl`
*/
interface MessageSource : Message {
companion object : Message.Key<MessageSource>
}
\ No newline at end of file
package net.mamoe.mirai.message.data
/**
* 群内的引用回复. 它将由协议模块实现为 `QuoteReplyImpl`
*/
interface QuoteReply : Message {
val source: MessageSource
companion object Key : Message.Key<QuoteReply>
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment