Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@pchaturvedi85 pchaturvedi85 commented Jun 24, 2021

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

This comment has been minimized.

Copy link
Owner Author

@expiscornovus expiscornovus commented Jun 25, 2021

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

@expiscornovus

This comment has been minimized.

Copy link
Owner Author

@expiscornovus expiscornovus commented Sep 19, 2021

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