Hello, could you please help me?
I’m using Zendesk SDK 4.2.2 for Unity. I log in using a token with: ZendeskSdk.Instance.Messaging.LoginAsync(response.Token); After that, I request an unread message count update with: ZendeskSdk.Instance.Messaging.GetUnreadMessageCountAsync(ZendeskUpdatedMessage); I receive the update once, but after that I no longer get unread message count updates automatically. The only way to get a new update is to send the request again manually. Is this expected behavior, or is there a way to subscribe to continuous unread message count updates/events?
Could you please clarify what these parameters in GetUnreadMessageCountAsync mean? onUnreadCountChanged (Action): Action to be called when the unread count changes. shouldSubscribe (bool): Whether to subscribe to the websocket event outside of a conversation. My understanding was that onUnreadCountChanged would be triggered automatically whenever the unread message count changes, especially when shouldSubscribe is set to true. Could you please explain how these parameters are intended to work?