New issue
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
TypeNotFoundError when handling incoming updates #1724
Comments
https://t.me/LonamiWebs/14118, https://t.me/TelethonChat/311471.
|
@Lonami Setting: MTProto Bot session (with Results:
It seems there has been some changes of how does the Bot API handles updates? Can you confirm this behavior for yourself? |
Same issue with
(Telethon 1.20) |
If you replace the |
Yep, no error 👍 |
Closes LonamiWebs#1728, should close LonamiWebs#1724.
@Lonami, this is still reproduced in the latest version. I've found the recommended solution in the docs: This has also been confirmed by the TDLib's developer: Does it make sense to you? Can this be fixed now? |
This will need to be done when fixing the update handling. |
When running Telethon as bot, whenever I have some update arriving (i suppose this occurs for "chat action" events),
I am catching
TypeNotFoundError
.Example: I run Telethon bot session, with chat action handler set up.
When I am adding / removing my bot to / from the channel, ithe following error occurs:
What is going on? Does the schema somehow messed up?
This occurs on the last Telethon 1.20.0 from PyPi.
Previous version I used (1.17.6) did not have this.
The text was updated successfully, but these errors were encountered: