Contributor
Added a filter Filters.update.edited working for both messages and channel posts.
Closes #2703
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick PR! The new filter itself looks good :) However, we will need both documentation & tests for the new functionality (the PR template is there for a reason ๐ ). The documentation is just a few lines below your changes, you can add the new filter there. For the tests, please have a look at the file tests/test_filters.py and add a new test - you can copy & adapt the existing tests for Filters.update.*. The contribution guide also has a number of details on bulding the docs and running the tests ;)
Contributor Author
Thanks for the quick PR! The new filter itself looks good :) However, we will need both documentation & tests for the new functionality (the PR template is there for a reason ๐ ). The documentation is just a few lines below your changes, you can add the new filter there. For the tests, please have a look at the file
tests/test_filters.pyand add a new test - you can copy & adapt the existing tests forFilters.update.*. The contribution guide also has a number of details on bulding the docs and running the tests ;)
Thank you for the feedback, im on it ๐
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ๐ I'll ask for a second review from the dev team and then we can merge