We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pip3 install -U git+https://github.com/Mayuri-Chan/pyrofork
This functions tries to access poll.chat, which isn't a valid attribute, leading to this error:
poll.chat
AttributeError: 'Poll' object has no attribute 'chat'
poll.stop()
on_poll
from pyrogram import Client from pyrogram.types import Poll app = Client(...) @app.on_poll() async def on_poll(client: Client, poll: Poll): await poll.stop() app.run()
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
pip3 install -U git+https://github.com/Mayuri-Chan/pyrofork
and reproduced the issue using the latest development versionDescription
This functions tries to access
poll.chat
, which isn't a valid attribute, leading to this error:Steps to reproduce
poll.stop()
in anon_poll
handlerCode example
Logs
No response
The text was updated successfully, but these errors were encountered: