Forum Discussion
mt7708
Sep 13, 2021Copper Contributor
Open an Existing Group Chat via URL or Deep Link
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...
Sep 13, 2021
Hi, use this and add the parameter topicName https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#deep-linking-to-a-chat
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
mt7708
Sep 13, 2021Copper Contributor
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.
- Jun_CaiNov 17, 2021Copper ContributorHi, 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 - Sep 13, 2021Okay, never encountered that scenario and as far as I know you need to add users with deep links to chats.