on Result
Called when the unread message count is retrieved.
Parameters
unread Message Count
AIAgentUnreadMessageCount object containing total and categorized unread message counts.
e
SendbirdException if an error occurred during the operation, or null
if successful.