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

add view private chat history query #35

Merged
merged 1 commit into from
May 29, 2017

Conversation

cesardv
Copy link
Contributor

@cesardv cesardv commented Apr 27, 2017

hey @KyleGobel
I wrote this ages ago and for some reason forgot to send you a PR. Better late than never I guess!

This should allow querying for 1:1. private chat history. Should address issue #25

@KyleGobel KyleGobel merged commit 759783d into KyleGobel:master May 29, 2017
Copy link

@matheusdarosa matheusdarosa left a comment

Choose a reason for hiding this comment

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

It looks good, just a small naming suggestion.

.AddQueryParam("reverse", reverse)
.AddHipchatAuthentication(_authToken)
.GetJsonFromUrl()
.FromJson<HipchatViewRoomHistoryResponse>();

Choose a reason for hiding this comment

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

Since this object is being used now to map both ViewRoomHistory and PrivateUserHistory it should have a more generic name?

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.

3 participants