Commit 637e43ac authored by Him188's avatar Him188

Mark `PttMessage` and `Voice` with `@MiraiExperimentalAPI`

parent ddf8ecf7
package net.mamoe.mirai.message.data
import net.mamoe.mirai.utils.MiraiExperimentalAPI
/**
* 需要通过上传到服务器的消息,如语音、文件
*/
@MiraiExperimentalAPI
abstract class PttMessage : MessageContent {
companion object Key : Message.Key<PttMessage> {
......@@ -18,6 +21,7 @@ abstract class PttMessage : MessageContent {
/**
* 语音消息, 目前只支持接收和转发
*/
@MiraiExperimentalAPI
class Voice(
override val fileName: String,
override val md5: ByteArray,
......
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