Receiving Conversation and User Information
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.
Prerequisites
Your app must be an authenticated Extension App.
How this works
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.
Sample Objects
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:
Last updated
Was this helpful?