07-17-2017 01:46 PM - edited 07-18-2017 12:48 AM
I'm not sure how well known this is, but there is support in Microsoft Graph for creating and managing Channels and sending messages to Channels. It's still in Beta and I'm sure that there are lots of great improvements planned still, but there might be enough there today to enable you to do what you want.
Full walk through here: https://blog.thoughtstuff.co.uk/2017/07/how-to-manage-microsoft-teams-send-messages-using-the-teams-...
Thanks,
-tom
02-21-2019 02:33 AM
Hi,
We have a requirement to IM a person from intranet. We thought of using MS Teams, instead of Skype.
However, could not find any api/client code to open MS teams to message particular person using code. Any idea?
Regards,
Jayesh
02-21-2019 03:37 AM
Never mind, Found the answer:
We can use this as hyperlink: https://teams.microsoft.com/l/chat/0/0?users=<emailidoftheusertoIM>
02-21-2019 03:45 AM
That's awesome, I didn't know about that. How did you find that, is it documented? Or you just discovered it worked?
-tom
03-08-2019 04:09 AM
@Tom Morgan wrote:That's awesome, I didn't know about that. How did you find that, is it documented? Or you just discovered it worked?
-tom
Good question @Tom Morgan . I'd be a bit wary of using something that isn't officially documented - no guarantee it will work in the future.
What I need to do is post a chat message to someone via an API. Was googling for the answer and ended up here.
03-09-2019 08:46 AM
My colleague helped me find it, who in-turn figured it out using: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/deep-links#generating-a-deep-link-...
07-06-2020 06:45 AM
This is great however I find that when I add this deep-link, it opens my default browser (Edge) and then prompts to open the Teams app.
Is there any way to stop this happening does anybody know please?
I would like to use this in emails to drive people to chat rather than having an email conversation.
Thanks
David
12-10-2020 02:26 AM
@techDavidWright I don't think that is possible. It is mentioned in this doc Create deep links - Teams | Microsoft Docs that "A deeplink launches the browser first before navigating to content and information" for different cases and Chat is one of them.