rasa icon indicating copy to clipboard operation
rasa copied to clipboard

Bot doesnt reply in Telegram

Open beliboba opened this issue 1 year ago • 1 comments

Rasa Open Source version

3.2.4

Rasa SDK version

3.2.0

Python version

3.7

What operating system are you using?

Windows

What happened?

I have invited Rasa telegram bot to group, but it replies only to messagges, starting with "/start". It works fine in the DM

Command / Request

No response

Relevant log output

Exception occurred while handling uri: 'http://56cf-5-3-214-172.eu.ngrok.io/webhooks/telegram/webhook'
Traceback (most recent call last):
  File "handle_request", line 83, in handle_request
    )
  File "C:\Users\Beliboba\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa\core\channels\telegram.py", line 228, in message
    if self._is_user_message(msg):
  File "C:\Users\Beliboba\AppData\Local\Programs\Python\Python37\lib\site-packages\rasa\core\channels\telegram.py", line 180, in _is_user_message
    return message.text is not None
AttributeError: 'NoneType' object has no attribute 'text'

beliboba avatar Jul 22 '22 17:07 beliboba

  • Experiencing same challenge
[2022-08-22 04:27:42 +0000] [1] [ERROR] Exception occurred while handling uri: 'http://rasa-demo.onrender.com/webhooks/telegram/webhook'
Aug 22 07:27:42 AM  Traceback (most recent call last):
Aug 22 07:27:42 AM    File "handle_request", line 83, in handle_request
Aug 22 07:27:42 AM      )
Aug 22 07:27:42 AM    File "/usr/local/lib/python3.8/site-packages/rasa/core/channels/telegram.py", line 228, in message
Aug 22 07:27:42 AM      if self._is_user_message(msg):
Aug 22 07:27:42 AM    File "/usr/local/lib/python3.8/site-packages/rasa/core/channels/telegram.py", line 180, in _is_user_message
Aug 22 07:27:42 AM      return message.text is not None

brunoalfred avatar Aug 22 '22 04:08 brunoalfred

Hi everyone, any workaround on this one?

xxxwarrior avatar Nov 26 '22 18:11 xxxwarrior

➤ Maxime Verger commented:

:bulb: Heads up! We're moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS.

From now on, this Jira board is the place where you can browse (without an account) and create issues (you'll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue!

:arrow_right: More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569.

sync-by-unito[bot] avatar Dec 16 '22 10:12 sync-by-unito[bot]