Just the other day I was trying to figure out how to link a bot into Teams in the background to deal with this exact problem: if I get a message which only says something like "got a moment?" it would automatically send back "what's the issue?" or something similar.
It feels like someone should have disassembled the protocol and created a way to hook in as a pretend extra client by now (that just looks like your user) but Google's become very bad at making these sorts of resources available.