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

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

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