Skip to content
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

Telegram Connector #1256

Open
altieres opened this issue Jan 13, 2023 · 3 comments
Open

Telegram Connector #1256

altieres opened this issue Jan 13, 2023 · 3 comments

Comments

@altieres
Copy link

I need to made my nlp bot available on telegram.

I will try to create a telegram-connector based on fb-connector.

It is possible to use nlp to process messages received from telegram, and send back the processed response. But the connector seems to be the right way.

Any advice? Thanks.

@ericzon
Copy link
Collaborator

ericzon commented Jan 16, 2023

Hi @altieres, yes, a Telegram connector can be done, no problem. You can take a look also to rest connector.

@altieres
Copy link
Author

@ericzon thanks for your suggestion!

I implemented using just the simple nlp processing: https://github.com/altieres/nlp.js
I think this is enough to my bot for now. Should I PR or create a repository/library apart?

Now I need to understand how the use of Bot class (Msbf) can improve the bot. And make the improvements necessary to work with it. Any directions are welcome!

@aigloss
Copy link
Collaborator

aigloss commented Jan 25, 2023

Hi @altieres , your connector is not taking the bot instrumentation into account, so we'd better keep it apart. If you check the rest connector, if there is a "bot" registered, the processing of the request is delegated to it, so I guess that's what your missing. You can also check the addActivity method in DirectlineController.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants