Ho un messaggio HTML come questo:Embed html nei post slack
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<script type="text/javascript">
(function(){
document.writeln("<iframe src=\"http://www.example.com" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>");
})();
</script>
</head>
<body>
<h1>hello world!</h1>
</body>
</html>
come posso inserire questo come un messaggio in gioco? Il gioco acconsente all'HTML?
var message = {
mrkdwn: true,
text: "", //This does not accept my above HTML code
attachments : []
};
slacker.notify(message, function(err, result) {
callback(err, result);
});
https://api.slack.com/docs/formatting – christopher