setAttributes()
Note: This API is supported from version 10.0.0.
The setAttributes() API globally applies the specified metadata to all conversations (both chat and call) to change the name, display the call picture, and more.
Parameters:
- attributes: A SalesIQConversationAttributes attributes to customize metadata such as the name, additional information, or display pictures for conversations.
- name(String?): Sets the visitor's name.
- displayImage(UIImage?): Sets the display picture.
- additionalInfo(String?): Adds extra information to the conversation.
- departments([SIQDepartment]): Assigns departments for routing.
Example
Copied