提交 3a9f20b6 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add mimeType() method to Message/MediaMessage

上级 c8a5d42d
......@@ -83,14 +83,6 @@ export class Message implements Sayable {
throw Error('not a media message')
}
/**
* return the MIME Type of this Message
* text message will always return `text/plain`
*/
public mimeType(): string {
return 'text/plain'
}
/**
* @private
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册