Sendbird Chat SDK for JavaScript.
OTHER License
Published by liamcho about 1 year ago
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
Published by danney-chun about 1 year ago
HugeGabCheck
in MessageCollection
has missed some filtersPublished by chrisallo about 1 year ago
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
Published by danney-chun about 1 year ago
CHANNEL_INVITE
event inviter is nullMessageCollectionEventHandler
members to be optionalPublished by danney-chun over 1 year ago
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
Published by chrisallo over 1 year ago
Published by chrisallo over 1 year ago
Published by danney-chun over 1 year ago
sb.connect()
fails when localCacheEnabled
set to false in browsers with disabled CookiesGroupChannelCollection
displays channels in wrong order for GroupChannelListOrder.LATEST_LAST_MESSAGE
Published by sendbird-sdk-deployment over 1 year ago
- 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.
Published by sendbird-sdk-deployment over 1 year ago
Published by sendbird-sdk-deployment over 1 year ago
Published by sendbird-sdk-deployment over 1 year ago
Published by sendbird-sdk-deployment over 1 year ago
Published by sendbird-sdk-deployment over 1 year ago
Published by sendbird-sdk-deployment over 1 year ago
PublicGroupChannelListQuery
overwrites the cache with missing propertiesPublished by sendbird-sdk-deployment over 1 year ago
You can now retrieve all pinned messages in a GroupChannel by the PinnedMessageListQuery.
PinnedMessage
PinnedMessageListQuery
, PinnedMessageListQueryParams
groupChannel.createPinnedMessageListQuery()
const query = groupChannel.createPinnedMessageListQuery(params);
const pinnedMessages = await query.next();
Improvements stability
Published by sendbird-sdk-deployment over 1 year ago
Published by sendbird-sdk-deployment over 1 year ago
MessageCollection.initialize()
would throw an Error in some casesPublished by sendbird-sdk-deployment over 1 year ago
AbortController
importPublished by danney-chun over 1 year ago
You can now automatically detect when a muted user is unmuted by leveraging MessageCollections
.
Clients will now receive MessageCollectionHandler.onChannelUpdated()
with GroupChannelContext.GroupChannelEventSource.EVENT_CHANNEL_UNMUTED
when an user is unmuted after their muted duration has expired, on top of explict unmute calls. This now means that you can easily transition user’s experience and allow them to chat even more seamlessly.
Note that this is a MessageCollections
only feature! We recommend all of our clients to give it a try if you haven’t
disconnect()
before cache initializationLOGI
error command processingcollection.close()
when disconnect()
is calledAbortController
compatibility