invoke

abstract operator fun invoke(senderId: ID, sharedData: Map<Path, PayloadRepresentation<Any?>>): Message<ID, Payload>

Creates a Message instance with the given senderId and sharedData.