UpdateChatUIField
This method is used to update a field in the chat UI with the value in the Chat Data map field. The following table shows the input arguments for UpdateChatUIField.
Input Argument | Description |
---|---|
|
The value in this argument is the interaction ID that you want to update if IsSingleChat is set to True. The value in this argument is ignored if IsSingleChat is set to False. For new and transferred chats, IsSingleChat is always set to True. |
|
If set to True, then it indicates to update the value provided for InteractionId. False indicates to update the value for all chats. For new and transferred chats, IsSingleChat is always set to True. |
|
This is the field that you want to get the value from in Chat Data map. For example: ChatDisplayName in Chat Data map. |
Example
If you want to use the ChatDisplayName field in the Chat Data map to update the Chat Display Name in the chat UI for all chats, then the input is as follows. For example, if a user wants to use Chat Data map field, ChatDisplayName, to update Chat Display Name in the Chat UI for all chats, then the input is as follows:
InteractionId =
IsSingleChat = FALSE
UpdateField = ChatDisplayName // the field of ChatDisplayName in Chat Data map