How Can We Help?
Disable Specific Attachment Buttons
When checking “Allow sharing of files, photos, and sending audio & video messages“, you can send multimedia attachments with these buttons:

If you wish to disable specific attachment buttons, you may use the CSS codes below:
- To remove “Add file” button:
.upload-dialog-box>button:nth-child(1) {
display: none;
}

- To remove “Take photo” button:
.upload-dialog-box>button:nth-child(2) {
display: none;
}

- To remove “Record audio” button:
.upload-dialog-box>button:nth-child(3) {
display: none;
}

- To remove “Record video” button:
.upload-dialog-box>button:nth-child(4) {
display: none;
}
