updateButtonsIconData Procedure

You can implement a plug-in to update the appearance of its buttons individually without closing the plug-in page or interrupting its background operation.

The updateButtonsIconData procedure has only the buttonsIconData parameter that is mandatory and has the same format as the buttonsIconData field for the close, sleep, initEnd messages.

Example of callProcedure message with updateIconData procedure
{
    "apiVersion": 1,
    "method": "callProcedure",
    "procedure": "updateButtonsIconData",
    "callId": "123abc",
    "params": {    
        "buttonsIconData": {
            "17156": {
                "color": "highlight",
                "text": "123",
                "image": {}
            },
            "17155": {
                "color": "default",
                "text": null,
                "image": {}
            }
        }    
    }
}