weiter raten...
This commit is contained in:
parent
3480c9c1cb
commit
60974b68b0
|
|
@ -53,11 +53,14 @@ class NotificationPayloadFactory
|
||||||
$previewSnippet = 'Bitte prüft, ob wir tägliche Snapshots brauchen.';
|
$previewSnippet = 'Bitte prüft, ob wir tägliche Snapshots brauchen.';
|
||||||
$reasonText = 'Neue Antwort in beobachteter Diskussion';
|
$reasonText = 'Neue Antwort in beobachteter Diskussion';
|
||||||
|
|
||||||
|
// ✅ Teams Browser Deep Link (offiziell unterstützt)
|
||||||
|
$teamsBrowserLink = 'https://teams.microsoft.com/l/browser/' . rawurlencode($discussionUrl);
|
||||||
|
|
||||||
$payload = [
|
$payload = [
|
||||||
'topic' => [
|
'topic' => [
|
||||||
'source' => 'text',
|
'source' => 'text',
|
||||||
'value' => $discussionTitle,
|
'value' => $discussionTitle,
|
||||||
'webUrl' => $discussionUrl, // ✅ DIREKT ins Forum
|
'webUrl' => $teamsBrowserLink, // ✅ MUSS /l/ sein
|
||||||
],
|
],
|
||||||
'activityType' => 'systemDefault',
|
'activityType' => 'systemDefault',
|
||||||
'previewText' => [
|
'previewText' => [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue