Conversation
Bibo-Joshi
left a comment
There was a problem hiding this comment.
Thanks for the PR!
Code looks good, but I'm unsure about what we filter: We have forward_from and forward_from_chat as attributes. Can we rule out that both are non-None at the same time? If not, which should we use? Even if we can rule it out, maybe it's just cleaner to provide both Filters.forward_{from, from_chat}. In any case, the docstring should explicitly mention, which attribute of the message is checked.
Yeah, only one of
They do have the same function, so as a user I would not like the hassle of switching between the two.
Agreed. |
but that not documented, right? So behavior could change … Unlikely, for sure. |
Closes #2411