@sendbird/chat
Advanced tools
Changelog
v4.2.6 (Jan 20, 2023)
onChannelsAdded
event is not fired upon creating a first channel in GroupChannelCollection
when localCacheEnabled
is set to false.Changelog
v4.2.5 (Jan 17, 2023)
MessageCollection
onMessagesUpdated event triggered for old messagesconnect
while offline did not reconnect
even when the app came onlineChangelog
v4.2.4 (Jan 11, 2023)
MessageCollection
where old messages are being added to the view when app reconnectsGroupChannel.pinMessage()
and GroupChannel.unpinMessage()
GroupChannelHandler.onChannelChanged()
and GroupChannelHandler.onPinnedMessageUpdated()
events are not called when channel.lastPinnedMessage
is updatedChangelog
v4.2.3 (Dec 29, 2022)
GroupChannelCollection.dispose()
not to clear the event handlerMessageCollection.dispose()
not to clear the event handlerChangelog
v4.2.2 (Dec 23, 2022)
MessageCollection.displose()
not to clear the event handlerChangelog
v4.2.1 (Dec 16, 2022)
sb.connect()
right after sb.disconnect()
throws an error given the user had entered an open channelWebSocket
connection handlingChangelog
v4.2.0 (Dec 9, 2022)
Pinned Message is released. You can now maintain a special set of messages (up to 10 per channel) that you want everyone in the channel to share. It can be anything from announcements, surveys, upcoming events, and any many more. Pin your messages and never miss them! Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications:point_down:
UserMessageCreateParams.isPinnedMessage: boolean = false
FileMessageCreateParams.isPinnedMessage: boolean = false
GroupChannel.pinMessage(messageId: number): Promise<void>
GroupChannel.unpinMessage(messageId: number): Promise<void>
GroupChannel.lastPinnedMessage: BaseMessage = null
GroupChannel.pinnedMessageIds: number[] = []
Changelog
v4.1.5 (Nov 24, 2022)
MessageCollection
now loads unsent messages from cache before onCacheResult()
is calledChangelog
v4.1.4 (Nov 16, 2022)
SendableMessage
to BaseMessage
in some message updating methods in BaseChannel
and GroupChannel
SessionHandler
triggers onSessionTokenRequired
event even when authToken
is still valid