@sendbird/chat
Advanced tools
Changelog
v4.10.3 (Nov 03, 2023)
logCustom()
in FeedChannel
to log custom statChangelog
v4.10.2 (Nov 02, 2023)
connection()
Changelog
v4.10.1 (Oct 31, 2023)
extended_message_payload
field to the messagePrototype
It simplifies the process by returning Record<{ [string]: any }>
, eliminating the need to stringify values like extended_message
. This improvement enhances the functionality of the AI chat bot, particularly in areas such as forms
, suggested_replies
, and custom_views
.
markAsClicked()
in FeedChannelmarkAsReadBy()
in FeedChannel
to take messages
as a parameterlogImpression()
in FeedChannel
to take messages
as a parametergroupChannel.upsert
getMessageCommand
parsing errorunhandled exception
SessionRefreshAPIResponseCommand
parsingChangelog
v4.10.0 (Oct 13, 2023)
messageReviewInfo
on the UserMessage
export default class UserMessage {
...
// exist only if the message is in review or it has been approved
readonly messageReviewInfo: MessageReviewInfo?
...
}
export default class MessageReviewInfo {
readonly status: MessageReviewStatus;
readonly originalMessageInfo?: OriginalMessageInfo; // (exist only if the status is approved)
...
}
export enum MessageReviewStatus {
INREVIEW = 'InReview',
APPROVED = 'Approved',
}
export interface OriginalMessageInfo {
createdAt: number;
messageId: number;
}
getDeliveryStatus(includeAllMembers = true)
interfaceuploadableFileInfo.fileUrl
does not include auth value when auth is required internallyonChannelUpdated
event
connect()
timed out in a certain caseChangelog
v4.9.14 (Oct 6, 2023)
messageStatus
in NotificationMessage
markAsReadBy(notificationIds)
in FeedChannel
logImpression(notificationIds)
in FeedChannel
MessageCollection
has wrong hasPrevious
and hasNext
in a certain conditiongroupChannel.refresh()
does not trigger onChannelUpdated
in MessageCollection
metaArrays
parameter does not work in updateUserMessage()
and updateFileMessage()
Changelog
v4.9.12 (Sep 22, 2023)
NotificationMessage
NotificationMessage
uses notificationId
as key instead of messageId
FeedChannel
to have NotificationMessage
as lastMessage
markAsRead()
fails with authenticateFeed()
onSessionClosed()
is called unintentionallyChangelog
v4.9.11 (Sep 14, 2023)
Changelog
v4.9.10 (Aug 30, 2023)
isCategoryFilterEnabled
in FeedChannel
.isTemplateLabelEnabled
in FeedChannel
.notificationCategories
in FeedChannel
.tags
in NotificationData
enableAutoResend
in LocalCacheConfig
to control auto-resending feature when local cache is enabledChangelog
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