feat: finalize msteams polls + outbound parity

This commit is contained in:
Peter Steinberger committed 2026-01-09 11:07:32 +01:00
1 parent a2bba7ef51
commit e55358c65d
22 files changed
+913 -81

No files matched your search

+5
View File
@@ -477,6 +477,10 @@ export async function messageCommand(
}),
),
);
const pollId = (result.result as { pollId?: string } | undefined)?.pollId;
if (pollId) {
runtime.log(success(`Poll id: ${pollId}`));
}
if (opts.json) {
runtime.log(
JSON.stringify(
@@ -494,6 +498,7 @@ export async function messageCommand(
options: result.options,
maxSelections: result.maxSelections,
durationHours: result.durationHours,
pollId,
},
null,
2,