Releases: sendbird/sendbird-chat-sdk-ios
Releases · sendbird/sendbird-chat-sdk-ios
v4.9.2
v4.9.1
v4.9.0
Features
MultipleFilesMessage
You can send a MultipleFilesMessage
that contains multiple files in a single message via GroupChannel.sendMultipleFilesMessage(params:fileUploadHandler:completionHandler:)
- Added
MultipleFilesMessage
. - Added
GroupChannel.sendMultipleFilesMessage
,MultipleFilesMessageCreateParams
,UploadableFileInfo
andUploadedFileInfo
. - Added
MultipleFilesMessageHandler
andFileUploadHandler
. - Added
SendbirdChat.getMultipleFilesMessageFileCountLimit()
that indicates the maximum count of files that can be included in a single message.
let params = MultipleFilesMessageCreateParams(
uploadableFileInfoList: [UploadableFileInfo(file: file), UploadableFileInfo(fileURL: fileUrl)]
)
channel.sendMultipleFilesMessage(
params: params,
fileUploadHandler = { requestId, index, uploadableFileInfo, error ->
// handle the upload result of each UploadableFileInfo.
},
completionHandler = { message, error ->
// handle the result of sending MultipleFilesMessage.
}
)
v4.8.6
Improvements
- Fixed not to hang main thread when requesting huge gap API
- Fixed issues in
MessageCollection.startCollection
andNotificationCollection.startCollection
- Fixed an error that returned duplicate cache messages
- Fixed an issue that did not fetch cache messages based on starting point
- Resolved DB migration issue
v4.8.5
Improvements
- Fixed
MessageCollectionDelegate.messageCollection(_:context:channel:updatedMessages:)
to be invoked after sending a message via API fallback - Fixed
GroupChannelCollectionDelegate.channelCollection(_:context:addedChannels:)
to not be invoked for added messages untilloadMore
is called inGroupChannelCollection
v4.8.4
Improvements
- Improved stability
v4.8.3
Improvements
- Improved stability
v4.8.2
- Added
includeParentMessageInfo
toPinnedMessageListQueryParams
v4.8.1
Improvements
- Fixed a crash issue that occurred when encoding
User
v4.8.0
Features
PinnedMessageListQuery
You can now retrieve all pinned messages within a GroupChannel by the PinnedMessageListQuery
.
- Added
PinnedMessage
- Added
PinnedMessageListQuery
,PinnedMessageListQueryParams
- Added
createPinnedMessageListQuery(params:)
forGroupChannel
object
let queryParams = PinnedMessageListQueryParams { params in
params.limit = 20
// Set other properties in `params`
}
self.query = channel.createPinnedMessageListQuery(queryParams)
self.query.loadNextPage { messages, error in
// Handle result
}
Improvements
- Added URL encoding for
userId
with non-ascii characters