Multiple Files Message
- We are now supporting Multiple Files Message feature!
- You can select multiple images and videos in the message inputs, and send multiple images in a single message.
- You can learn more about the feature in our Multiple Files Message docs page.
- Added classes, structs, and enum
SBUCollectionViewCell
classSBUMultipleFilesMessageCellParams
classSBUMultipleFilesMessageCell
classSBUMultipleFilesMessageCollectionView
classSBUMultipleFilesMessageCollectionViewCell
classGroupChannel.Preview
struct inSBUStringSet
classFileUpload.Error
struct inSBUStringSet
classSBUFileType
enum
- Added methods
getFileTypeString(by:)
inSBUUtils
classopenFile(_:)
inSBUBaseChannelViewController
classmultipleFilesMessageFileSizeErrorHandler(_:)
inSBUGroupChannelViewController
classsendMultipleFilesMessageCompletionHandler
inSBUGroupChannelViewController
classsendMultipleFilesMessage(fileInfoList:)
inSBUGroupChannelViewModel
classupdateMultipleFilesMessageCell(requestId:index:)
inSBUGroupChannelViewModel
classpickMultipleImageFiles(itemProviders:)
inSBUGroupChannelModule.Input
class (>= iOS14.0)register(multipleFilesMessageCell:nib:)
inSBUGroupChannelModule.List
classonSelectFile(sender:)
inSBUParentMessageInfoView
classregister(multipleFilesMessageCell:nib:) in
SBUMessageThreadMoudle.List` classmessageThreadModule(_:didSelectFileAt:multipleFilesMessageCell:forRowAt) in
SBUMessageThreadMoudle.List` classsave(fileData:viewController:) in
SBUDownloadManager` classsave(fileMessage:parent:) in
SBUDownloadManager` class
- Added properties
filesCount
inMultipleFilesMessage
class extensionmultipleFilesMessageFileCountLimit
inSBUAvailable
classuploadSizeLimitBytes
inSBUAvailable
classuploadSizeLimitMB
inSBUAvailable
classisMultipleFilesMessageEnabled
inSBUConfig.GroupChannel.Channel
classmultipleFilesMessageParamsSendBuilder
inSBUGlobalCustomParams
classshowPhotoLibraryPicker
inSBUGroupChannelViewController
classmultipleFilesMessageCell
inSBUGroupChannelModule.List
classisMultipleFilesMessage
inSBUQuoteMessageInputViewParams
classfileCollectionView
inSBUParentMessageInfoView
classfileSelectHandler
inSBUParentMessageInfoView
classonSelectFile(sender:)
inSBUParentMessageInfoView
classmultipleFilesMessageCell
inSBUMessageThreadMoudle.List
class
- Added delegate methods
groupChannelModule(_:didPickMultipleFiles:parentMessage:)
inSBUGroupChannelModuleInputDelegate
groupChannelModule(_:didSelectFileAt:multipleFilesMessageCell:forRowAt:)
inSBUGroupChannelModuleListDelegate
Common
- Fixed autolayout warnings that occur during runtime and cleaned up the entire autolayout-related logic
- Added
sbu_activate(baseView:constraints:)
function onNSLayoutConstraint
class extension - Added
Constants
struct onSBUParentMessageInfoView
class - Added
updateMessageTextWidth(with:)
function onSBUParentMessageInfoView
class
- Added
- Fixed layout issue with message time labels appearing oversized horizontally
- Fixed incorrect date separator padding size
- Modified condition to check user's
isActive
property when filtering mentionable users