共用方式為


Cannot get Microsoft Teams @mentions to work?

Checking out the code at the official documentation?

Node.js example code: Check for and strip @bot mention

If it doesn’t work for you, don’t worry. I have found the cause.

You just have to declare var botId = "YOUR BOT ID";

 

Session.message instead of message.text in the documentation. Good luck.