addParticipantByAddress

abstract fun addParticipantByAddress(    address: String,     proxyAddress: String,     attributes: Attributes,     listener: StatusListener)

Add specified non chat participant to this conversation (sms, whatsapp participants etc).

If the participant is already present in the conversation roster an error will be returned.

Parameters

address

The participant address to add to this conversation (phone number for sms and whatsapp participants)

proxyAddress

Proxy address (Twilio phone number for sms and whatsapp participants). See conversations quickstart for more info.

attributes

The developer-provided Attributes for participant or null to use default empty attributes.

listener

StatusListener to report status of the action.

Throws

If conversation isn't synchronized properly.