@sendbird/chat
Advanced tools
Changelog
v4.9.9 (Aug 16, 2023)
authenticateFeed()
in SendbirdChat
to log in without connectionrefreshNotificationCollections()
in SendbirdChat
to manually catch up the recent updatesnotificationData
in BaseMessage
Changelog
v4.9.8 (Aug 9, 2023)
BaseChannel.copyMessage()
that supports user, file, and multiple files messageBaseChannel.resendMessage()
that supports user, file, and multiple files message// Copy a succeeded multiple files message.
channelA.copyMessage(channelB, multipleFilesMessageToCopy)
.onPending((message: MultipleFilesMessage) => {
// ...
})
.onFailed((err: SendbirdError, message: MultipleFilesMessage) => {
// ...
})
.onSucceeded((message: MultipleFilesMessage) => {
// ...
});
// Resend a failed or canceled multiple files message.
channel.resendMessage(failedOrCanceledMultipleFilesMessage)
.onPending((message: MultipleFilesMessage) => {
// ...
})
.onFailed((err: SendbirdError, message: MultipleFilesMessage) => {
// ...
})
.onSucceeded((message: MultipleFilesMessage) => {
// ...
})
.onFileUploaded((
requestId: string,
index: number,
uploadableFileInfo: UploadableFileInfo,
err?: Error
) => {
// ...
});
BaseChannel.copyUserMessage()
BaseChannel.copyFileMessage()
BaseChannel.resendUserMessage()
BaseChannel.resendFileMessage()
MessageHandler
, FailedMessageHandler
, MessageRequestHandler
, and MultipleFilesMessageRequestHandler
to have generic message typecreatedAfter
and createdBefore
filters in GroupChannelListQuery
Changelog
v4.9.7 (Aug 3, 2023)
HugeGabCheck
in MessageCollection
has missed some filtersChangelog
v4.9.6 (Aug 1, 2023)
FeedChannelModule
FeedChannelModule
could be imported from @sendbird/chat/feedChannel
createMyFeedChannelListQuery()
to create FeedChannelListQuery
getChannel()
, getMyFeedChannelChangeLogsByTimestamp()
, getMyFeedChannelChangeLogsByToken()
to fetch FeedChannel
datagetGlobalNotificationChannelSetting()
to get notification settingsgetNotificationTemplateListByToken()
, getNotificationTemplate()
to fetch NotificationTemplate
FeedChannelHandler
FeedChannel
FEED
channel typecreateNotificationCollection()
to create NotificationCollection
refresh()
to refresh the feed channelmarkAsRead()
FeedChannelListQuery
NotificationCollection
NotificationCollection
acts as same as MessageCollection
isChatNotification
in GroupChannel
includeChatNotification
in GroupChannelListQuery
, GroupChannelListParams
, GroupChannelChangeLogsParams
notificationInfo
in AppInfo
onTotalUnreadMessageCountChanged
in UserEventHandler
onTotalUnreadMessageCountUpdated
in UserEventHandler
GroupChannelCollection
Changelog
v4.9.5 (July 27, 2023)
CHANNEL_INVITE
event inviter is nullMessageCollectionEventHandler
members to be optionalChangelog
v4.9.4 (July 21, 2023)
EVENT_CHANNEL_BANNED
to GroupchannelEventSource
err
the argument of FailedMessageHandler
to not nullable typesb.connect()
to not nullable typeGroupChannelCollection
loadPrevious
in MessageCollection
MessageCollection
Poll.applyPollVoteEvent()
not updating Poll.voterCount
Changelog
v4.9.3 (Jun 22, 2023)
sb.connect()
fails when localCacheEnabled
set to false in browsers with disabled CookiesGroupChannelCollection
displays channels in wrong order for GroupChannelListOrder.LATEST_LAST_MESSAGE
Changelog
v4.9.2 (Jun 14, 2023)
- JS Chat SDK version `4.9.1` and `4.9.2` has a CRTICAL BUG where FileMessage is NOT received when sent from an Android device. Please SKIP version `4.9.0` and `4.9.1`, and update to version `4.9.2` or above instead.