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.
await suprSendClient.user.addEmail(email:string)await suprSendClient.user.removeEmail(email:string)// mobile should be as per E.164 standard: https://www.twilio.com/docs/glossary/what-e164await suprSendClient.user.addSms(mobile:string)await suprSendClient.user.removeSms(mobile:string)// mobile should be as per E.164 standardawait suprSendClient.user.addWhatsapp(mobile:string)await suprSendClient.user.removeWhatsapp(mobile: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.