Skip to content

Releases: sendbird/sendbird-chat-sdk-android

chat/4.32.3

10 Dec 05:35
686fd7f

Choose a tag to compare

Improvements

  • Fixed message resend functionality to properly handle rate limit errors (900200).

chat/4.32.2

25 Nov 05:14
09e15ad

Choose a tag to compare

Improvements

  • Updated sdk request log with more details for better debugging.

chat/4.32.1

19 Nov 05:36
b6a9612

Choose a tag to compare

Improvements

  • Fixed an issue where SendbirdChat.connect() returned User object as null in the ConnectHandler even when SendbirdChat.currentUser existed during the reconnection process.

ktx/4.32.0

06 Nov 02:03
c375744

Choose a tag to compare

Features

  • Added AI Agent Message Feedback coroutine extensions
    • Added SendbirdChat.AIAgent.awaitCreateMessageFeedback() suspend function
    • Added SendbirdChat.AIAgent.awaitUpdateMessageFeedback() suspend function
    • Added SendbirdChat.AIAgent.awaitDeleteMessageFeedback() suspend function

chat/4.32.0

06 Nov 01:43
35d8267

Choose a tag to compare

Features

  • Added AI Agent Message Feedback APIs
    • Added SendbirdChat.AIAgent.createMessageFeedback() to create feedback for AI agent messages
    • Added SendbirdChat.AIAgent.updateMessageFeedback() to update existing feedback
    • Added SendbirdChat.AIAgent.deleteMessageFeedback() to delete feedback
    • Added AIAgentMessageFeedbackRating enum (GOOD, BAD)
    • Added AIAgentMessageFeedbackCreateParams, AIAgentMessageFeedbackUpdateParams, AIAgentMessageFeedbackDeleteParams
    • Added corresponding handlers: AIAgentMessageFeedbackCreateHandler, AIAgentMessageFeedbackUpdateHandler, AIAgentMessageFeedbackDeleteHandler

ktx/4.31.1

03 Nov 10:38
6ba9fd3

Choose a tag to compare

Features

  • Updated chat sdk to version 4.31.1
    • Fixed a possible binary compatibility issue when using Chat SDK in multiple products.

chat/4.31.1

03 Nov 10:28
0df44a4

Choose a tag to compare

Improvements

  • Fixed a possible binary compatibility issue when using Chat SDK in multiple products.

ktx/4.31.0

29 Oct 06:38
53bf5e7

Choose a tag to compare

Features

  • Added support for closing conversation manually for AI Agent in GroupChannel
    • GroupChannel.awaitCloseConversation()

chat/4.31.0

29 Oct 05:08
bdd3c35

Choose a tag to compare

Features

  • Added support for closing conversation manually for AI Agent in GroupChannel
    • GroupChannel.closeConversation(handler: CompletionHandler?)

ktx/4.30.0

22 Oct 09:08
04efeb7

Choose a tag to compare

Features

  • Added onConnectionDelayed callback to ConnectionHandler.
    • A new callback method that is invoked when the server is overloaded. This callback provides information about the delay time before automatic reconnection. After the delayed time period, the SDK automatically initiates reconnection and triggers the callback sequence: onReconnectStartedonReconnectSucceeded
      interface ConnectionHandler {
          fun onConnected(userId: String) {}
          fun onDisconnected(userId: String) {}
          fun onReconnectStarted() {}
          fun onReconnectSucceeded() {}
          fun onReconnectFailed() {}
      
          /**
          * A callback for when the connection is delayed.
          *
          * @param retryAfter The time in seconds to wait before the next reconnection attempt.
          */
          fun onConnectionDelayed(retryAfter: Long) {}
      }
      
      runCatching {
          SendbirdChat.awaitConnect(USER_ID, AUTH_TOKEN)
      }.onSuccess { user ->
          // Connection successful
      }.onFailure { e ->
          val sendbirdException = e as SendbirdException
          if (sendbirdException.code == SendbirdError.ERR_CONNECTION_DELAYED) {
              val data = sendbirdException.data
              // The delay time in seconds before automatic reconnection
              val retryAfter: Long = data["retry_after"] as? Long ?: 0
              // Server-provided reason code for the delay
              val message = data["message"] as? String ?: ""
              // Detailed error message explaining the delay
              val reasonCode: Int = data["reason_code"] as? Int ?: 0
      
              // The SDK will automatically retry after the specified delay time
              // and the result will be notified through ConnectionHandler.onReconnectSucceeded().
          }
      }
  • Added SendbirdChat.Options.setTypingIndicatorInvalidateTime(invalidateTimeMillis: Long)
    • Sets typing indicator invalidation time. Defaults to 10000 (10 seconds)

Improvements

  • Added a condition in AIAgentGroupChannelListQuery.belongsTo() to exclude non–AI Agent and non–Desk channels from the query results.