Skip to content
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

extended params accepted by notification to support from (aka. labels) #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lv10
Copy link

@lv10 lv10 commented Feb 20, 2018

Extended notification functionality to support 'from' parameter the send_notification endpoint as per API's documentation https://www.hipchat.com/docs/apiv2/method/send_room_notification.

I also considered passing **kwargs and let the API decided if request is incorrect or not. If you'd like to do that instead, let me know and I'll change the code and resubmit.

Thank you.

'message': message,
'notify': notify,
'message_format': format,
'from': 'labe'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be 'from': 'label'} instead.

@Constantin07
Copy link

I need to be able to specify from (aka label) too when sending the notification.

Is there any estimation when this PR will be merged ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants