Set user channel related information using following methods. Its recommended to use SuprSend’s Backend SDK’s to set user channels instead of Client SDK’s.
Copy
Ask AI
await SuprSend.shared.user.addEmail(String)await SuprSend.shared.user.removeEmail(String)// mobile should be as per E.164 standard: https://www.twilio.com/docs/glossary/what-e164await SuprSend.shared.user.addSMS(String)await SuprSend.shared.user.removeSMS(String)// mobile should be as per E.164 standardawait SuprSend.shared.user.addWhatsapp(String)await SuprSend.shared.user.removeWhatsapp(String)
Add the given amount to an existing user property. If the user does not already have the associated property, the amount will be added to zero. To reduce a property, provide a negative number as the value.