Use the AttachmentConfiguration parameter in the UIConfiguration class to hide the attachment option from the input options.
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.
// Hide the attachment option from the input options. Setting the endUserToAgent property to true hides the attachment option from the end user.
@Parcelize
data class AttachmentConfiguration(
val endUserToAgent: Boolean = true
) : Parcelable