setAttributes()

Note: This API is supported from version 6.5.1.

The setAttributes() API globally applies the specified metadata to all calls for changing the name, call display picture, and more.

Parameters:

  • attributes (@Nullable SalesIQConversationAttributes): Optional attributes to customize metadata, such as the name, additional information, or display picture for calls.

Example

CopiedSalesIQConversationAttributes attributes = SalesIQConversationAttributes(
  name: "Zylker",
  additionalInfo: "Technical team",
  displayPicture:
      "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTmcpiyts9M3zpanvqrDoltvPffjbLIborLnHG7oaZVx2c_yeLzDBqKCeBSkvJizNfntWA&usqp=CAU",
  departments: [
    SalesIQDepartment.fromName("Tech team",
        communicationMode: CommunicationMode.chatAndCall)
  ],
);

ZohoSalesIQ.conversation.setAttributes(attributes)