oneTimeURLParticipant()
Generate a unique URL for inviting a participant without knowing their handle
Declaration
class func oneTimeURLParticipant() -> SelfDiscussion
When a participant’s email address / phone number / userRecordID isn’t known up-front, you can add a oneTimeURLParticipant() to the share. Once you save the share, you can get a custom invitation link or one-time URL for the added participant via oneTimeURL(for:). Any recipient user can use this custom link to fetch share metadata and accept the share.
Note that a one-time URL participant in the CKShare.ParticipantAcceptanceStatus.pending state has empty nameComponents and a nil lookupInfo.