skip to Main Content

I connected the dialogflow bot to the telegram chat and it responds to user messages but without specifying their names and periodically determines random words from the text of the message as the user names.
How to set up a dialogflow bot in the telegram chat so it receives not only messages, but the message sender user names too?

2

Answers


  1. Chosen as BEST ANSWER

    I checked through the telegram webhook - the username is indeed sent to the bot with the message. Probably the problem is in the telegram integration code of the dialogflow-es bot.


  2. When using Dialogflow with Telegram, Telegram already provides you a unique id for every Telegram user. Try to output the body request from Telegram and then catch that uniqueid value.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search