Passing and retrieving metadata in Rasa from Telegram

Thanks for your suggestion and sorry for the late reply.

I tried the steps outlined in Telegram integration with rasa - #2 by fabiolamfleury

Specifically, I have this in get_metadata function:

metadata=request.json
return metadata

In actions.py, I use

tracker.latest_message[“metadata”]

to try retrieving it but I get an empty dict.