Two of the most beloved HipChat features have always been @mentions and our inline previews for images and links from services like Twitter, YouTube, and GitHub. Unfortunately it wasn’t possible to take advantage of this awesome functionality when using our rooms/message API, but that changes today! You can now choose to have your API messages treated just like your own messages by setting the
message_format=text argument. The default value is
html which lets you do your own lightweight HTML formatting instead.
This is a powerful change because you now have a way for your automated tools to notify people (even if they’re offline);
as well as send in helpful links like Tweets so your team is aware of the latest happenings;
Oh, and as you may have noticed, we’ve added gray as a background color option since it looks a lot nicer for this type of data.
Check the API documentation for full details. Enjoy!