Uploadcare Plugin for Chat Engine
Adds the ability to upload images in a ChatEngine Chat via UploadCare service
Check out the UploadCare Setup Instructions
Quick Start
- Have a ChatEngine server running already, instantiate a client and connect it
const ChatEngine = ChatEngineCore; ChatEngine;ChatEngine;
- Attach this plugin to the channel you want, in this case global
ChatEngineglobal;
- Bind UploadCare to a UI element
const widget = uploadcare;ChatEngineglobaluploadcare;
- Listen for the
$uploadcare.upload
events on your channel
ChatEngineglobal;