isPresenceEvent method

bool isPresenceEvent()

Implementation

bool isPresenceEvent() {
  return type == MessageType.presence;
}