Skip to content

Telegram Namespace Conflict #207

Open
@minusmagis

Description

@minusmagis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions