New Contributor

Hi, 

 

We are able to send a message to a team chat using 

https://teams.microsoft.com/l/chat/0/0?users=<user1>,<user2>,...&topicName=<chat name>&message=<precanned text>

But how do we do this (Post a message) to a specific Team Channel?

 

I tried

msteams://teams.microsoft.com/l/channel/channelid/General?groupId=groupid&tenantId=tenantid&message=hello

but it just opens the channel in MSTeams.

Any help would be greatly appreciated.

Thanks

best response confirmed by Zen_Lang (New Contributor)
Solution

@Zen_Lang Deeplink to send messages to a channel is currently not available. You could try using the Create chat in channel Graph API to send messages to a channel.

Hi @Gousia_Begum , thank you. I was looking for a non-Graph API approach but looks like I have no choice if it is not possible  using deeplinks

We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE