Rasa Webchat Integration

Hi @nik202 can you guide me on how to actually create a custom socket channel, NOT a custom Rest channel. My requirement is that I have an html page like this -

Now, from here I need to pass userID from this frontend to Rasa and then see the userID in my webchat based on some greet custom action. As per the docs and forum discussions, I read that you need to have a custom channel. But, I need data to be passed to a socket channel and not a rest connection. Need guidance. Thanks!

So, instead of RestInput class, please provide guidance regarding SocketInput and SocketOutput class as per this documentation.