Newbie: Using V3 SDK TeamsChat connector with node async/await?

Copper Contributor



  It looks like V3 SDK TeamsChat connector's listen method needs to be used to process messages something like this:'/api/messages', (req, res) => {
   console.log('Chat message received!');


But I need to use it with async/await as it is possible with V4 SDK BotFramework Adapter:'/api/messages', (req, res) => {
adapter.processActivity(req, res, async (context) => {
// Route to main dialog.



How can V3 TeamsChat connector be used (if at all) in this way? Is there a sample to refer to?


Thanks in advance and regards





1 Reply