You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**(1)**`current-user-id` is required to display UI and trigger actions according to the user using the chat (ex: messages position on the right, etc.)
@@ -473,9 +474,11 @@ You can then use the [textarea-action-handler](#events-api) event to call your o
473
474
474
475
**(27)**`accepted-files` can be used to set specifics file types allowed in chat. By default, all file types are allowed: `"*"`.
475
476
476
-
Example: set `"accepted-files="image/png, image/jpeg, application/pdf"` to allow `JPG``PNG` and `PDF` files only
477
+
Example: set `accepted-files="image/png, image/jpeg, application/pdf"` to allow `JPG``PNG` and `PDF` files only
477
478
478
-
**(28)**`styles` can be used to customize your own theme. You can find the full list [here](src/themes/index.js)
479
+
**(28)**`capture-files` can be used to enable direct capturing of photos and videos on mobile browsers, as opposed to just uploading existing photos and videos which are already on the device. See [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture) for more information and recognized values. By default, the attribute is omitted and mobile browsers will only offer the gallery to choose photos and videos. Note: this only affects file attachments. Audio messages are always recorded using the device's microphone.
480
+
481
+
**(29)**`styles` can be used to customize your own theme. You can find the full list [here](src/themes/index.js)
0 commit comments