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

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

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