APIv2: How to be informed by a incomming private message

For room messages, there are Hebhook events.

But I cannot see somthing similar for receiving a private message in the API.

Polling is no Option.

Do I have to use the XMPP-Gateway to receive private message events?

Is there something I missed?

 

 

2 answers

2 votes

Right now, webhooks are limited to room messages. In order to integrate with 1-1 chats, you would need something more along the lines of a bot. We hope to add more API support for 1-1 messages / integrations in the future, but we don't currently have a timeframe for when it will be added. 

Thanks for the fast answer, even if it was somehow disappointing.

Is it possibe to connect to the BOSH-Gateway? Is there some documentation?

 

We don't have supporting documentation for connecting to the BOSH gateway, unfortunately. It might be possible to connect (we use https://likeabosh.hipchat.com/http-bind/ as the BOSH endpoint) but it's not currently designed for usage outside of the HipChat clients themselves.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

142 views 3 8
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