addParticipantByIdentity

abstract fun addParticipantByIdentity(identity: String, attributes: Attributes, listener: StatusListener)

Add the participant with the specified username to this conversation.

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

Parameters

identity

The username of the participant to add to this conversation.

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.