EvotecIT / PSTeams

PSTeams is a PowerShell Module working on Windows / Linux and Mac. It allows sending notifications to Microsoft Teams via WebHook Notifications. It's pretty flexible and provides a bunch of options. Initially, it only supported one sort of Team Cards but since version 2.X.X it supports Adaptive Cards, Hero Cards, List Cards, and Thumbnail Cards. All those new cards have their own cmdlets and the old version of creating Teams Cards stays as-is for compatibility reasons.
MIT License
409 stars 41 forks source link

Is it possible to detect messages received also? #33

Closed numericOverflow closed 3 years ago

numericOverflow commented 3 years ago

This is very cool, but can it also be used to trigger when chats/messages are received by the user? If not, is there another way to do so?

I haven't found a way to programmatically trigger actions on my local machine when someone messages me. For example, flash the screen, or add an entry to a log file, etc.

Thanks!

PrzemyslawKlys commented 3 years ago

PSTeams isn't capable of doing that. You would need to dive deep into Graph and most likely do some serious coding.