2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Fix Filters.poll docstrings link to Poll type

This commit is contained in:
Dan 2018-12-23 19:52:49 +01:00
parent 1d676a76db
commit a551f1fe1e

View File

@ -122,7 +122,7 @@ class Filters:
"""Filter messages sent with a webpage preview."""
poll = create("Poll", lambda _, m: m.poll)
"""Filter messages that contain :obj:`Poll <pyrogram.api.types.pyrogram.Poll>` objects."""
"""Filter messages that contain :obj:`Poll <pyrogram.Poll>` objects."""
private = create("Private", lambda _, m: bool(m.chat and m.chat.type == "private"))
"""Filter messages sent in private chats."""