deserializeFromMiraiCode
解析形如 "mirai:" 的 mirai 码, 即 CodableMessage.serializeToMiraiCode 返回的内容.
Since
2.13
Parameters
contact
解析语境
See also
fun MessageChain.deserializeFromMiraiCode(miraiCode: String, contact: Contact? = null): MessageChain
Deprecated
Parameter MessageChain is redundant, use the overload instead.
Replace with
import net.mamoe.mirai.message.data.MessageChain
Content copied to clipboard
MessageChain.deserializeFromMiraiCode(miraiCode, contact)
Content copied to clipboard
解析形如 "mirai:" 的 mirai 码, 即 CodableMessage.serializeToMiraiCode 返回的内容.