Upgrade guide¶
This page provides guidance on all changes to the Hive chat API and items that are no longer supported.
Refer to this content to smoothly upgrade your Hive chat integration to the latest version.
Hive SDK 25.6.0¶
Changes¶
- The channel message retrieval method has changed from fetching the latest messages to fetching messages within a range before and after a specific message ID.
- A message ID, which uniquely identifies each message object, has been added.
- The
ChannelMessageListQueryParams
class has been updated. To maintain previous behavior, setmessageId
to null and assign the same value to bothsize
andprevSize
.
Hive SDK 25.4.0¶
Changes¶
- The following changes have been made to listener events registered via the
addConnectionListener
method of theChat
class:- Added a new
onReconnectStarted
event. This is triggered when thereconnect
API of theChat
class is called or when the chat connection is automatically retried due to internal state changes. - The
onReconnected
event now includes aResultAPI
object containing result information.
- Added a new
Unsupported Items¶
- The
addDirectMessageListener
andremoveDirectMessageListener
methods of theChat
class are no longer supported. The previous 1:1 message receiving functionality can now be handled using theaddUserListener
andremoveUserListener
methods of theChat
class.