Sendbird Chat SDK for JavaScript.
OTHER License
Published by chrisallo 8 months ago
markAsRead()
with messages does not trigger any event in NotificationCollection
Published by sendbird-sdk-deployment 8 months ago
markAsRead()
with messages wrongly signals updating messages in NotificationCollection
Published by sendbird-sdk-deployment 8 months ago
Message templates created via platform API can be fetched with getMessageTemplatesByToken()
and getMessageTemplate()
MessageTemplate
MessageTemplateList
MessageTemplateListParams
MessageTemplateListResult
MessageTemplateInfo
messageTemplateInfo
in AppInfo
getMessageTemplatesByToken()
, and getMessageTemplate()
in MessageModule
GroupChannelCollection
was not removed when leaving a public groupPublished by danney-chun 8 months ago
thumbnails
are not being set properlyPublished by chrisallo 8 months ago
priority
in NotificationMessage
ThreadedParentMessageListQuery
createThreadedParentMessageListQuery()
in GroupChannel
markThreadAsRead()
in BaseMessage
setPushNotificationEnabled()
in BaseMessage
totalUnreadReplyCount
in BaseChannel
unreadReplyCount
, memberCount
, isPushNotificationEnabled
in ThreadInfo
unreadMessageCount
does not match in a certain conditionPublished by danney-chun 9 months ago
onMentionReceived
event is called when a mention is deletedsendbird.min.js
does not set the SDK to global objectonMessagesUpdated()
event do not called if localCacheEnable is falseextendedMessagePayload
to UserMessageCreateParams
Published by chrisallo 9 months ago
Published by chrisallo 10 months ago
Published by danney-chun 11 months ago
prevResultLimit/nextResultLimit
in BaseMessageCollectionParams
/**
* @param limit Deprecated since v4.10.5. Use prevResultLimit/nextResultLimit instead.
*/
groupChannel.createMessagecollection( { limit: 10 } );
// or
groupChannel.createMessageCollection({ prevResultLimit: 5, nextResultLimit: 5, });
MessageFilter/GroupChannelFilter
const filter: MessageFilter = new MessageFilter();
filter.senderUserIdsFilter = [ ... ];
// or
const filter:MessageFilter = new MessageFilter({
senderUserIdsFilter: [ ... ],
...
});
groupChannel.createMessagecollection( { filter } );
const filter:GroupChannelFilter = new GroupChannelFilter();
filter.includeEmpty = true;
// or
const filter:GroupChannelFilter = new GroupChannelFilter({
includeEmpty: true,
...
});
sb.groupChannel.createGroupChannelCollection({ filter });
markAsRead(messages: NotificationMessage[])
in FeedChannel
markAsReadBy(messages: NotificationMessage[])
in FeedChannel
is_reply_to_channel
parsing error in BaseMessage
onMessagesUpdated()
event do not called if localCacheEnable
is false
Published by chrisallo 11 months ago
Published by chrisallo 12 months ago
logCustom()
in FeedChannel
to log custom statPublished by danney-chun 12 months ago
connection()
Published by danney-chun 12 months ago
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
parsingPublished by danney-chun about 1 year ago
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 casePublished by chrisallo about 1 year ago
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()
Published by chrisallo about 1 year ago
Published by chrisallo about 1 year ago
NotificationMessage
NotificationMessage
uses notificationId
as key instead of messageId
FeedChannel
to have NotificationMessage
as lastMessage
markAsRead()
fails with authenticateFeed()
onSessionClosed()
is called unintentionallyPublished by danney-chun about 1 year ago
Published by chrisallo about 1 year ago
isCategoryFilterEnabled
in FeedChannel
.isTemplateLabelEnabled
in FeedChannel
.notificationCategories
in FeedChannel
.tags
in NotificationData
enableAutoResend
in LocalCacheConfig
to control auto-resending feature when local cache is enabledPublished by chrisallo about 1 year ago
authenticateFeed()
in SendbirdChat
to log in without connectionrefreshNotificationCollections()
in SendbirdChat
to manually catch up the recent updatesnotificationData
in BaseMessage