Files
openclaw/extensions/telegram/src/send.runtime.ts
peter e71d7d48fb fix(telegram): probe video dimensions through sdk
Fix Telegram portrait video distortion by probing video dimensions through the shared media helper and passing width/height to sendVideo.

Validation:
- Targeted Telegram/media tests passed locally.
- Plugin SDK API baseline check passed locally.
- Formatter and git diff whitespace checks passed locally.

CI note: current boundary drift observed on prior run came from existing src/plugin-sdk/discord.ts and src/plugin-sdk/telegram-account.ts, not this PR diff.
2026-04-29 01:58:25 -05:00

14 lines
564 B
TypeScript

export { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
export { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
export type { OpenClawConfig } from "openclaw/plugin-sdk/config-types";
export type { PollInput, MediaKind } from "openclaw/plugin-sdk/media-runtime";
export {
buildOutboundMediaLoadOptions,
getImageMetadata,
isGifMedia,
kindFromMime,
normalizePollInput,
probeVideoDimensions,
} from "openclaw/plugin-sdk/media-runtime";
export { loadWebMedia } from "openclaw/plugin-sdk/web-media";