mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 12:26:38 -06:00
6e19c36d41
* 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
19 lines
652 B
TypeScript
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";
|