mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
Deprecate filters.CHAT
(#4083)
This commit is contained in:
parent
2d63c57ed6
commit
2f65fcc292
1 changed files with 5 additions and 1 deletions
|
@ -877,7 +877,11 @@ class _Chat(MessageFilter):
|
|||
|
||||
|
||||
CHAT = _Chat(name="filters.CHAT")
|
||||
"""This filter filters *any* message that has a :attr:`telegram.Message.chat`."""
|
||||
"""This filter filters *any* message that has a :attr:`telegram.Message.chat`.
|
||||
|
||||
.. deprecated:: NEXT.VERSION
|
||||
This filter has no effect since :attr:`telegram.Message.chat` is always present.
|
||||
"""
|
||||
|
||||
|
||||
class ChatType: # A convenience namespace for Chat types.
|
||||
|
|
Loading…
Reference in a new issue