init
TypeScriptstatic init(phoneNumber: string): MSRecipientSwift declarationinit(phoneNumber: String)Initializer
struct · iOS 18.2+ · SDK 27.1
struct MSRecipientMSRecipient A simple struct with relevant properties for passing into the critical messaging and UPI APIs.
static init(phoneNumber: string): MSRecipientSwift declarationinit(phoneNumber: String)Initializer
get phoneNumber(): stringSwift declarationvar phoneNumber: StringA phone number; when calling requestAuthorization for critical messaging, this phone number will be shown to the user along with the displayName.
set phoneNumber(value: string)Swift declarationvar phoneNumber: StringA phone number; when calling requestAuthorization for critical messaging, this phone number will be shown to the user along with the displayName.
No declarations were skipped in this snapshot.