val direction: Direction
outgoing or incoming message type
direction - outgoing or incoming message type
direction