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

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

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