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?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
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.
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.