copyWith

open override fun copyWith(relatesTo: RelatesTo?): CallEventContent.Candidates

This should return the same instance, but with the relatesTo property set to the given value. It is used for event content replacing.