Hide Attachments

Use the UIConfiguration object to hide the attachment menu in the input bar.

This article applies to the following implementations:

UI SDK Core SDK
✅

important: This feature requires version 1.7.0 or later of the Enhanced In-App Chat SDK.

/**
 * Create a UIConfiguration object and set the attachmentConfiguration
 * value to false to hide it.
 */
 let configuration = UIConfiguration(serviceAPI: <String>, organizationId: <String>, developerName: <name>, conversationId: <UUID>)
configuration.attachmentConfiguration = AttachmentConfiguration(endUserToAgent: false)