Bot-Teams Integration issue

We have encountered an error when integrating a Microsoft Botframeowrk bot with MS Teams. The error is: “activity must include non empty ‘text’ field or at least 1 attachment”. We believe that the error occurs when sendActivities is called twice and the second time activity.text field is sent empty. This error does not occur when using the Web Chat bot.

The error “activity must include non empty ‘text’ field or at least 1 attachment” occurs when sendActivities is called twice and the second time activity.text field is sent empty. This error does not occur when using the Web Chat bot.