Reputation: 725
I have a php application that sends a post request to an 'Incoming Webhook' in ms teams. Part of the data sent is below:
'msteams' => [
'entities' => [
[
'type' => 'mention',
'text' => '<at>User</at>',
'mentioned' => [
'id' => '[email protected]',
'name' => 'User',
]
]
],
],
This correctly mentions the user, but how can I do this for a team or a channel?
Upvotes: 0
Views: 84
Reputation: 1458
Currently only user mention is supported in Incoming webhook. In general, mentioning a channel via payload is not supported yet in both Incoming Webhook and Bot.
Upvotes: 1