Message attachment action button open URL
Currently, message actions button is doing a HTTP call to get a JSON response. What about adding the possibility to define button that open an URL in a new tab ?
Using https://developers.mattermost.com/integrate/plugins/interactive-messages/ , we want to display a button that simply open a link:
{
"attachments": [
{
"pretext": "This is the attachment pretext.",
"text": "This is the attachment text.",
"actions": [{
"id": "open-link",
"name": "Open Dashboard",
"integration": {
"link": "http://grafana.my-dev.com"
}
}
]
}
]
}
```
-
Thomas Decaux commented
Currently, message actions button is doing a HTTP call to get a JSON response. What about adding the possibility to define button that open an URL in a new tab ?
Using https://developers.mattermost.com/integrate/plugins/interactive-messages/ , we want to display a button that simply open a link:
```
{
"attachments": [
{
"pretext": "This is the attachment pretext.",
"text": "This is the attachment text.",
"actions": [{
"id": "open-link",
"name": "Open Dashboard",
"integration": {
"link": "http://grafana.my-dev.com"
}
}
]
}
]
}
```