Fetching Unread Messages without the Zendesk Prefab being Instantiated ? | Community
Skip to main content

Fetching Unread Messages without the Zendesk Prefab being Instantiated ?

  • May 29, 2023
  • 0 replies
  • 0 views

Ivo12

Greetings, I want to at some interval to fetch any unread messages from zendesk, however as per the documentation it required the prefab to be active which I don't like the idea of the prefab being always active and hidden in the scene as it is just useless overhead just so I can have a reference to the "SupportProvider" 

ZendeskSupportProvider supportProvider = zendeskObjectInstantiated.GetComponent<ZendeskMain>().supportProvider;

supportProvider.GetRequestUpdates(GetRequestUpdatesCallback);

 Has anyone came across this type of issue and of so how did you manage to work around it ? Thanks !