createPhoneNumber
suspend fun User.createPhoneNumber(phoneNumber: String): ClerkResult<PhoneNumber, ClerkErrorResponse>
Creates a new phone number for the current user or the user with the given session ID.
The newly created phone number will be unverified initially. The user will need to complete the verification process (typically via SMS) before the phone number can be used for authentication or two-factor authentication.
Return
A ClerkResult containing the created PhoneNumber object on success, or a ClerkErrorResponse on failure
Parameters
phoneNumber
The phone number to add to the user's account (should include country code)