Files
openclaw/extensions/msteams/src/attachments.ts
Peter Steinberger 6e19c36d41 feat(channels): batch 2 producers drop media placeholder bodies (#111665)
* feat(channels): batch 2 producers drop media placeholder bodies

Media-placeholder program batch 2: Discord, Feishu, and MSTeams stop
minting <media:kind> placeholder bodies. Primary bodies carry captions
only; native resources produce ordered structured facts with type-only
facts for failures/rejections (batch-1 alignment contract). Discord
stickers travel as native kind "sticker" (not MIME-derivable); text
carriers (forwarded snapshots, room history, thread starters, pending
text) render via formatMediaPlaceholderText. Feishu audio preflight and
MSTeams unavailable selection move from body-string equality to
structured facts; dead placeholder payload builders deleted.

* test(discord): make allowlist policy explicit
2026-07-19 22:48:32 -07:00

19 lines
652 B
TypeScript

// Msteams plugin module implements attachments behavior.
export {
downloadMSTeamsBotFrameworkAttachments,
isBotFrameworkPersonalChatId,
} from "./attachments/bot-framework.js";
export { downloadMSTeamsAttachments } from "./attachments/download.js";
export { buildMSTeamsGraphMessageUrl, downloadMSTeamsGraphMedia } from "./attachments/graph.js";
export {
extractMSTeamsHtmlAttachmentIds,
resolveMSTeamsAdvertisedMedia,
summarizeMSTeamsHtmlAttachments,
} from "./attachments/html.js";
export type {
MSTeamsAccessTokenProvider,
MSTeamsAttachmentLike,
MSTeamsHtmlAttachmentSummary,
MSTeamsInboundMedia,
} from "./attachments/types.js";