The commandAction function of the teams chat message send command returns a Promise because it was implemented to use async/await. As the cli calls the function synchronously, it should be better to refactor this so that it does not return a promise.
The
commandActionfunction of theteams chat message sendcommand returns a Promise because it was implemented to use async/await. As the cli calls the function synchronously, it should be better to refactor this so that it does not return a promise.