import {IMessageEvent} from "../../../../../api";
import {MessageEvent} from "../../../../../events";
import {PlayListSongAddedMessageParser} from "../../parser";

export class PlayListSongAddedMessageEvent extends MessageEvent implements IMessageEvent {
  constructor(callBack: Function) {
    super(callBack, PlayListSongAddedMessageParser);
  }

  public getParser(): PlayListSongAddedMessageParser {
    return this.parser as PlayListSongAddedMessageParser;
  }
}
