Open an Existing Group Chat via URL or Deep Link

New Contributor

I am attempting to open an existing Group Chat via a URL or Deep Link.  I've read info about creating a chat via a URL but not navigating to an existing Chat.  We plan to reuse an existing group chat room and would like to provide users a URL via an email to join or simply view the discussion from the existing Group Chat.  Can this be done?  How do i determine or construct the URL of the Group Chat Room?

4 Replies

Hi, use this and add the parameter topicName https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#deep-lin...

 

Edit, worked just fine when I tried.

 

Ex.

https://teams.microsoft.com/l/chat/0/0?users=frodo@shire.com,sam@shire.com&topicName=Mordor 

@ChristianJBergstrom I should have mentioned this.  We'd like to use these chat rooms with open ended users.  Mean that the room is used over and over by responders of an incident and the responders vary from chat to chat.  We plan to have a pool of rooms and round robin thru them as incidents occur.

 

The command that you mentioned seems to require a static list of users.  It seems to be trying to open a new chat for me.

Okay, never encountered that scenario and as far as I know you need to add users with deep links to chats.
Hi, I suppose you can develop a bot app that can add the user into the required group chat with chat histories by graphAPI, but you should consider more regarding the security and data protection. since once the app has permission to add anyone into any chat group. then the chat history will open for anyone.
Reference:
https://docs.microsoft.com/en-us/graph/api/chat-post-members?view=graph-rest-1.0&tabs=http