isInvitationEvent method

bool isInvitationEvent()

Implementation

bool isInvitationEvent() {
  return type == MessageType.invitationRequest ||
      type == MessageType.invitationResponseAccept ||
      type == MessageType.invitationResponseReject;
}