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
- Create a conversation participant.
var participant = conversation.createParticipant(person);
- Add the participant to the conversation.
conversation.participants.add(participant);
- 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.