@softvisio/core
Version:
Softisio core
40 lines (31 loc) • 687 B
JavaScript
import Media from "./media.js";
const TYPE = "audio",
SEND_METHOD = "sendAudio";
export default class extends Media {
constructor ( id, { fileId, contentType, title } = {} ) {
super( id, fileId );
this.
this.
}
// properties
get type () {
return TYPE;
}
get sendMethod () {
return SEND_METHOD;
}
// protected
_getJson () {
return {
"contentType": this.
"title": this.
};
}
_toMessage () {
return {
"title": this.
};
}
}