-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to send private/direct messages to a user rather than a room? #70
Comments
I don't believe that this is possible, only users can send private messages to users. OAuth2 tokens issued to groups won't be able to do that. See https://www.hipchat.com/docs/apiv2/method/private_message_user |
My now-former coworker actually has a partially-complete pull request for the plugin which supports this. I've handed off the work to someone else, I hope to see it submitted pretty soon. It does require you to create a user and then create an API token for them with appropriate privileges. |
You can do it with curl:
Or in a pipeline you might want a method:
Invoked like this:
|
The subject says it all. I'd like to be able to send messages to an individual, rather than a room, because our rooms are getting polluted with notifications that only need to be seen by one person.
The text was updated successfully, but these errors were encountered: