In the Octoblu Designer this device has a message UI, but if you'd like to message it directly, the message structure is defined below.
In order to change the url, send this device a message format like this.
{
"devices": ["..."],
"url": "https://www.octoblu.com"
}
OR
{
"devices": ["..."],
"payload":{
"url": "https://www.octoblu.com"
}
}
In order to change the text, send this device a message format like this.
You can change the styles by using the textStyles property. It will be passed into jQuery CSS
{
"devices": ["..."],
"text": "Hello there!",
"textStyles": {}
}
OR
{
"devices": ["..."],
"payload":{
"text": "Hello there!",
"textStyles": {}
}
}
In order to change the html, send this device a message format like this.
{
"devices": ["..."],
"html": "<strong>Hello there!</strong>"
}
OR
{
"devices": ["..."],
"payload":{
"html": "<strong>Hello there!</strong>"
}
}