Last active
September 19, 2021 18:41
-
-
Save expiscornovus/bc7953b79faba66e0cb7d09a47d2f026 to your computer and use it in GitHub Desktop.
Microsoft Graph - Microsoft Teams At Mention Channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"body": { | |
"content": "This is Flow mention channel test, <at id=\"0\">SharePoint Site Collections</at>", | |
"contentType": "html" | |
}, | |
"mentions": [ | |
{ | |
"id": 0, | |
"mentionText": "SharePoint Site Collections", | |
"mentioned": { | |
"conversation": { | |
"id": "@{variables('Channel')}", | |
"displayName": "SharePoint Site Collections", | |
"conversationIdentityType": "channel" | |
} | |
} | |
} | |
] | |
} |
@pchaturvedi85 thank for letting me know, appreciate it! I have adjusted the code snippet.
Updated the snippet again, I mistakenly had removed the conversationIdentityType property.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Slight change needed after update:
{ "subject": "Test Channel Mention", "body": { "contentType": "html", "content": " <at id=\"0\">Social Media Team</at>" }, "mentions": [ { "id": 0, "mentionText": "Social Media Team", "mentioned": { "conversation": { "displayName": "Social Media Team", "id": "@{variables('channel')}" } } } ] }