Lonami
Lonami
conservation.get_response() TypeError: '<' not supported between instances of 'float' and 'NoneType'
I have no intention to maintain `conversation` myself (which is why v2 removes it).
conservation.get_response() TypeError: '<' not supported between instances of 'float' and 'NoneType'
Thanks, and feel free to send a pull request if you find a fix.
> I can offer that I'll give implementing this in v2 a try […] I've changed my mind on v2 as pure Python. If I'm to maintain [grammers](https://github.com/lonami/grammers) and Telethon,...
OK note to self, don't merge large changes when I'm tired. https://github.com/LonamiWebs/Telethon/pull/4618#discussion_r2505758053 still needs to be addressed (should likely be on `__call__` and not here) Plus @andrew-ld left some comments...
> What changed in Telegram and how can I solve the problem? Don't know, but you're not the first to report a similar problem. It might've been some temporary issues....
Seems you've investigated the issue a fair bit. Feel free to submit a pull request, as I don't personally use proxies.
Too complicated. I'd make a subclass and use that: ```python class ConnectionErrorExtra(ConnectionError): def __init__(self, *args, **kwargs): super().__init__() ``` and then we can use this instead of the default `ConnectionError`.
> Is it okay to define Error class right in function? That's fine. It means people won't import it (or shouldn't), but it's okay because it inherits `ConnectionError`.
Does it work if you `unparse(*parse('**[Bold Link](https://example.com)**'))`?
If the answer to my question is "yes, it works", then the problem is on Telegram (it puts the link before the bold). If the answer is "no", then it...