mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-24 12:01:11 +00:00
* fix(line): honor channelData.line.mediaKind on the reply-token path The reply-token delivery built every media message with createImageMessage, ignoring channelData.line.mediaKind (and previewImageUrl/durationMs/trackingId), so a video/audio reply was silently downgraded to a broken image. The push path already honored mediaKind via resolveLineOutboundMedia + buildLineMediaMessageObject. Route reply-token media through those same helpers (relocated to outbound-media.ts and reused by both paths) via an injected buildMediaMessage dep wired in monitor.ts, preserving the delivery file's dependency-injection boundary. Generic media without LINE-specific options keeps the image route; a media that cannot be built surfaces as a visible partial delivery so the text still reaches the user. * refactor(line): unify reply media delivery * fix(line): normalize media delivery failures --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
OpenClaw LINE
Official OpenClaw channel plugin for LINE Bot API chats.
Install from OpenClaw:
openclaw plugin add @openclaw/line
Configure LINE channel credentials in OpenClaw, then connect the bot to the chats where agents should receive and send messages.