Skip to content

Commit 6c70148

Browse files
Update build-notification-capability.md (#14289)
1 parent b143c75 commit 6c70148

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

msteams-platform/bots/build-notification-capability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ You can customize sending the notification to the following targets:
249249
// list all installation targets
250250
for (const target of await notificationApp.notification.installations()) {
251251
// "Channel" means this bot is installed to a Team (default to notify General channel)
252-
if (target.type === "Channel") {
252+
if (target.type === "channel") {
253253
// Directly notify the Team (to the default General channel)
254254
await target.sendAdaptiveCard(...);
255255

0 commit comments

Comments
 (0)