From 3a9f20b6c49c8a96e95b7b4dd7f433cf465b5f38 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Mon, 9 Oct 2017 16:10:54 +0800 Subject: [PATCH] add mimeType() method to Message/MediaMessage --- src/message.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/message.ts b/src/message.ts index 095a5cae..51e77c3f 100644 --- a/src/message.ts +++ b/src/message.ts @@ -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 */ -- GitLab