Receiving Conversation and User Information
Last updated
Was this helpful?
Last updated
Was this helpful?
Symphony’s Extension API allows apps to extend the Symphony client user interface by adding buttons on the IM, MIM, profile, and chatroom modules. This capability can be used to build apps that act upon the room and user identity details, such as a click-to-call integration.
Your app must be an Extension App.
Extension apps can receive stream participant information when an end user clicks on a button added by the app.
Your button will receive information from the user object in a MIM, IM and a room of up to 20 users.
Please note that the current user’s information isn’t returned, only the information of the other user(s) in the profile of a user, an IM, MIM or room.
This is the information that you will receive if your button is pressed inside of an IM or on a users Profile:
You must implement the trigger()
method on your application service in order to handle clicks on the registered extensions. This is a sample trigger method that will allow you to receive a user's phone number and email address as an authenticated extension app:
This is the information that you will receive if your button is pressed inside of a MIM or a room: