-
Notifications
You must be signed in to change notification settings - Fork 276
Open
Labels
Description
Reference
Based on this Large Scale Notification GitHub repository
What I've done so far
I was using this sample for disaster communication in Teams. Currently, I have added a way for the admin to tailor the HTTP message payload. In addition, the user can also respond towards the given notification message on the Teams chat.
Problem
However, the current architecture specializes in sending one-way messages to a large number of users. The incoming messages by users will be blocked in the process when trying to do two-way communications. I was having issues with decoupling it to front-end and back-end.
From my research, it seems that the blocking is caused by this section of the code:
// enqueueTasksForInstallationsActivity.ts
// this is dependent on the bot, what should I replace it with?
import { notificationApp } from "../internal/initialize";
const installationResult =
await notificationApp.notification.getPagedInstallations(
maxPageSize,
token,
false
);
installations = installationResult.data;
token = installationResult.continuationToken;
if (installations.length === 0) {
break;
}
Has anyone tried on this issue?
Thank you.