I have integrated Rasa and google chat and able to receive a response in google chat. I am trying to get the user email id of every request I received from google chat. I am not sure how to get the user object from the response as mentioned in google chat API. It will be helpful if you can help me out.

Thanks a lot

1

There are 1 answers

1
amn41 On BEST ANSWER

the hangouts channel has a method called _extract_sender, see https://github.com/RasaHQ/rasa/blob/master/rasa/core/channels/hangouts.py#L209

If that isn't fetching the ID that you need, you can maybe add a similar method to the channnel that extracts the email ID from the request JSON