You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all I would like to thank you and contgratulate you for your work, it works wondefully.
However I have encountered a major issue when trying to use your library alongside the python-telegram-bot library, since you use the same namespace, i.e 'telegram'.
A workaround I have found is to simply change the namespace of your library to a diferent name (telegram_simple) to prevent such incompatibilities, and it seems to work (see my modified code here).
I basically cloned your repo and modified all the necessary imports and folders from telegram to telegram_simple and it seems to work nicely.
I leave you with the code so that, if you want, you make this change to improve compatibility, since I've seen some issues #195#120#110 which seem to have trouble with this rather broad 'telegram' name and maybe something a little bit more specific would cause less confusion.
Thanks again for the nice work
Best
minus
The text was updated successfully, but these errors were encountered:
Thank you for the feedback! Yes, there were several issues with that. Choosing telegram probably wasn't the best decision. But changing the namespace might break some external code. I'll leave this issue open, we might need some transitioning period if/when this change is implemented.
Had some problems with modified code above, so created new version as a fork. Thank you for non-blocking feature. I've no idea why this is so dumb in current well-known libraries.
UPD: also I've implemented there method add_any_update_handler to handle any type of update.
Hi Alexander,
First of all I would like to thank you and contgratulate you for your work, it works wondefully.
However I have encountered a major issue when trying to use your library alongside the python-telegram-bot library, since you use the same namespace, i.e 'telegram'.
A workaround I have found is to simply change the namespace of your library to a diferent name (telegram_simple) to prevent such incompatibilities, and it seems to work (see my modified code here).
I basically cloned your repo and modified all the necessary imports and folders from telegram to telegram_simple and it seems to work nicely.
I leave you with the code so that, if you want, you make this change to improve compatibility, since I've seen some issues #195 #120 #110 which seem to have trouble with this rather broad 'telegram' name and maybe something a little bit more specific would cause less confusion.
Thanks again for the nice work
Best
minus
The text was updated successfully, but these errors were encountered: