Deprecated. Please use the setUserProfile (String firstName, String lastName, String phone) method ).

The setUserProfile API takes custom parameters about the consumer as an input and sets it to be displayed on the Agent Workspace consumer transcript. This can be set at any time either before, after, or during a messaging session.

public static void setUserProfile(String appId, String firstName, String lastName, String phone)*

Parameter Description
appId The host app ID
firstName User’s first name
lastName User’s last name
phone User’s phone