Skip to content

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

Open
lv10 wants to merge 1 commit intoRidersDiscountCom:masterfrom
lv10:master
Open

extended params accepted by notification to support from (aka. labels)#63
lv10 wants to merge 1 commit intoRidersDiscountCom:masterfrom
lv10:master

Conversation

@lv10
Copy link
Copy Markdown

@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.

Comment thread hypchat/restobject.py
'message': message,
'notify': notify,
'message_format': format,
'from': 'labe'}
Copy link
Copy Markdown

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
Copy Markdown

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