How to show a Dialog from a bot

Hi guys,

first of all, I'm asuming that hipchat bots can only be made using XMPP, you can't chat to an add-on since addons only listen of what happens in the specified rooms.

 

So, how do I show a dialog from a bot? Let's say When the user talks to the bot, and the bot asks him to enter a date, the bot shows a dialog with a timepicker. For example:

```

user: I want to make a reservation

bot: Ok, please select a date

bot: *timepicker dialog shows*

user: *selects a date in the timepicker, then dialog closes*

bot: You selected dd/mm/yyy

```

thanks in advance!

 

 

 

 

 

1 answer

1 accepted

This widget could not be displayed.

 

Currently, the addon UX points (showing dialogs, glances, action buttons, etc) aren't available to XMPP bots (which basically function like regular users connected to HipChat with an "AI" behind them). If you're looking to make functionality generally available to all users in your group, you could consider installing a global addon, which would be accessible from any room.

In the future, we do hope to add 1-1 functionality to addons, which would help enable the functionality you're talking about (users sending a message to a "bot" which then responds directly to them). We don't yet have a timeline for when something that will be implemented, however.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Friday in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

172 views 1 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you