Add participants to a conversation

Applies to: Skype for Business 2015

Additional Persons can be added to a conversation to escalate that conversation to an online meeting.

Adding participants to a conversation

  1. Create a conversation participant.

    var participant = conversation.createParticipant(person);
    
  2. Add the participant to the conversation.

    conversation.participants.add(participant);
    
  3. An event can be subscribed to that is fired when a new participant is added to the conversation.

    conversation.participants.added(onConversationParticipantAdded);
    

Note: If the participant rejects the invitation, the participant will still be in the conversation.participants collection with a 'rejected' state. When this occurs, you should remove the participant and clean up any associated user interface.