Best way to get data from client to Jitsi Meet UI

Whats the best way to get data into Jitsi Meet?
I would like to send in a few flags to trigger certain custom buttons. But I dont want to depend on querystring or something

Use the iframe API

Can I use this API to send callbacks?

Example, please?

If I want to enable a chat rotation feature to allow users to maybe hop between rooms.
I’ll add a button to the UI and pass a callback to show a different room based on an api return.
React will rerender with the new room.

There is no such feature at the moment.