setActive(active:threadId:)
Call this whenever the user makes a chat or thread “active” in your UX If you call this with true you MUST later call it will false
func setActive(active: Bool, threadId: String?)
Parameters
active
true if the chat is “active”, false otherwise
threadId
optional, what thread the user has selected if any