Simply use
window.Twitch.ext.configuration.set('broadcaster',version,content)
And the method you asked about simply call contextUpdate and change the state according to the new data when the context is updated on Twitch site
Simply use
window.Twitch.ext.configuration.set('broadcaster',version,content)
And the method you asked about simply call contextUpdate and change the state according to the new data when the context is updated on Twitch site