Skip to content

Instantly share code, notes, and snippets.

@expiscornovus
Last active September 19, 2021 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save expiscornovus/bc7953b79faba66e0cb7d09a47d2f026 to your computer and use it in GitHub Desktop.
Save expiscornovus/bc7953b79faba66e0cb7d09a47d2f026 to your computer and use it in GitHub Desktop.
Microsoft Graph - Microsoft Teams At Mention Channel
{
"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
Copy link

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')}" } } } ] }

@expiscornovus
Copy link
Author

@pchaturvedi85 thank for letting me know, appreciate it! I have adjusted the code snippet.

@expiscornovus
Copy link
Author

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