Goal: Create a setTablePollingState that is applying state "active" to the database table "chatMessages".
table and state keys have to be assigned within the params object of the action.
{
"type": "setTablePollingState",
"params": {
"table": "chatMessages",
"state": "active"
}
}
A setTablePollingState action that applies state "active" to the DB table "chatMessages" is created.