Forum Discussion
rzupko
Dec 29, 2021Copper Contributor
Premade message on desktop/taskbar for Teams
Hello, This idea may be unique. I am using Teams for work, and I am looking for a way to create a desktop icon that could be pinned to the taskbar that would consist of a premade message. When I ...
- Dec 30, 2021You can simply have it as a PowerShell script or similar, then place it as shortcut icon on your desktop. If you go with the Flow route, you can use an "instant" trigger I suppose. And you might also check the options Teams Bot framework offers you. At the end of the day, all these solutions will use the underlying Graph API endpoints, so you do need to have some basic understanding of how they work. More importantly, the required inputs (team/channel id or chatid, etc).
VasilMichev
Dec 29, 2021MVP
You can use the Graph API for this: https://docs.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http
Dec 29, 2021
Or you could use Microsoft Flow is also a option.
- rzupkoDec 29, 2021Copper ContributorThank you Paul for your reply as well. Microsoft Flow Power Automate is another good option. I've looked into this some, but I cannot find the right Trigger. I found the Step for 'Post message in a chat or channel', which is perfect for what I need. Do you know of a Trigger that can be placed on the desktop or taskbar to activate the 'Post message in a chat or channel' step?