@softvisio/core
Version:
Softisio core
44 lines (33 loc) • 739 B
JavaScript
import Media from "./media.js";
const TYPE = "videoNote",
MEDIA_TYPE = "video_note",
SEND_METHOD = "sendVideoNote";
export default class extends Media {
constructor ( id, { fileId, thumbnailFileId } = {} ) {
super( id, fileId );
this.
}
// properties
get type () {
return TYPE;
}
get mediaType () {
return MEDIA_TYPE;
}
get sendMethod () {
return SEND_METHOD;
}
get supportCaption () {
return false;
}
// protected
_getJson () {
return {
"thumbnailFileId": this.
};
}
_toMessage () {
return {};
}
}