init(type:value:displayName:)
Creates a new handle that identifies a participant in a conversation.
Declaration
init(type: Handle.Kind, value: String, displayName: String? = nil)Parameters
- type:
The type of the handle; for example, a phone number or email address.
- value:
The raw value of the handle.
- displayName:
The name that people see for a participant of a conversation in the conversation UI. If the
displayNameisnil, the system usesvalueinstead.