Skip to content

v4.1.13

Choose a tag to compare

@PrajwalDhuleCC PrajwalDhuleCC released this 26 Jul 15:22
· 2 commits to v4 since this release
d37fdee

v4.1.13

New

  • Added support for uploading multiple files independently of sending a message through CometChat.createUploadFileRequest(), which returns an UploadFileRequest to upload and manage attachments before sending.
  • Added request configuration and inspection capabilities on UploadFileRequest through setConcurrency() (sequential by default), setBatchId(), setParentMessageId(), getAttachments(), getAttachmentsByType(), getAttachmentCount(), and getStatus().
  • Added per-file upload progress, success, failure, and completion callbacks through CometChat.UploadFileListener, providing greater visibility and control over the file upload process.
  • Added CometChat.getMaxAttachmentCount() to retrieve the maximum supported number of attachments per message, allowing applications to validate attachments before initiating uploads.

Enhancements

  • None

Fixes

  • Fixed inbound message deserialization keeping only the last attachment of a multi-attachment message; received and history-fetched messages now return the complete attachments[] via getAttachments().