onResult

abstract fun onResult(unreadMessageCount: AIAgentUnreadMessageCount?, e: SendbirdException?)

Called when the unread message count is retrieved.

Parameters

unreadMessageCount

AIAgentUnreadMessageCount object containing total and categorized unread message counts.

e

SendbirdException if an error occurred during the operation, or null if successful.