I am using NodeJS to build a bot based on MS bot framework. I want to build the client with TypeScript + React, however, I want to be able to send messages once the user is logged in. By searching online, I figured I am able to do this using backchannel, as described in this page.
However, I want to use it in React app, as described here
I could make the React app work in my application, however I need to integrate the backchannel as well.
I don't understand why in every sample we're using something different. For example, in the React app, we're using BotChat.Chat .. but in the backchannel, we're using BotChat.App .. what's the difference between these two?
Also, I am going to use the backchannel in my React app, I would need to declare BotChannel and pass it to BotChat.App, how would this work in React where we're using BotChat.Chat?
Any example or clear documentation on these differences and how to implement backchannel with React will be much appreciated.
Thanks.