set Phone Number
Set the profile phone number.
Note: This method requires to already have a registered identifier for the user or to call identify method before this one.
Example:
Batch.Profile.identify("my_custom_user_id")
Batch.Profile.editor().setPhoneNumber("+33123456789").save()
Content copied to clipboard
Return
This object instance, for method chaining.
Parameters
phone Number
A valid E.164 formatted string. Must start with a `+` and not be no longer than 15 digits without special characters (eg: "+33123456789"). Null to reset.
See also
<a href="https://en. wikipedia. org/wiki/E. 164">E. 164</a>