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

api: Implement GET /messages/{message_id}/read_receipts endpoint #821

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

Conversation

codewithnick
Copy link

@codewithnick codewithnick commented Jan 19, 2024

added a local function for getting a messages read recipt
reference https://zulip.com/api/get-read-receipts
proof of working:
image

@timabbott
Copy link
Member

Please fix the typos in the function name -- these should all match the URLs in the API documentation.

Check out the Zulip commit message guidelines for more details.

@codewithnick codewithnick force-pushed the get_message_read_recipt branch from 2992ba1 to c94f208 Compare January 23, 2024 10:30
@codewithnick codewithnick changed the title added binding for API endpoint:get messages read recipt api: Implement GET /messages/{message_id}/read_receipts endpoint Jan 23, 2024
@codewithnick
Copy link
Author

@timabbott

@codewithnick
Copy link
Author

hi any updates on this @timabbott

return self.call_endpoint(
url=f"messages/{message_id}/read_receipts",
method="GET",
)
Copy link
Member

Choose a reason for hiding this comment

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

Our usual convention is to use the same names as the URL suffices on https://zulip.com/api/get-read-receipts.

Copy link
Author

Choose a reason for hiding this comment

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

so should I change the function name to get_read_receipts, not sure if that is what you meant

Copy link
Member

Choose a reason for hiding this comment

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

Yes

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

Successfully merging this pull request may close these issues.

3 participants