Files
openclaw/src/plugin-sdk/interactive-runtime.ts
2026-05-17 14:18:23 +01:00

44 lines
1.3 KiB
TypeScript

export {
adaptMessagePresentationForChannel,
applyPresentationActionLimits,
presentationPageSize,
reduceInteractiveReply,
} from "../channels/plugins/outbound/interactive.js";
export type {
InteractiveButtonStyle,
InteractiveReply,
InteractiveReplyBlock,
InteractiveReplyButton,
InteractiveReplyOption,
InteractiveReplySelectBlock,
InteractiveReplyTextBlock,
MessagePresentation,
MessagePresentationBlock,
MessagePresentationButton,
MessagePresentationButtonStyle,
MessagePresentationButtonsBlock,
MessagePresentationContextBlock,
MessagePresentationDividerBlock,
MessagePresentationInteractiveBlock,
MessagePresentationOption,
MessagePresentationSelectBlock,
MessagePresentationTextBlock,
MessagePresentationTone,
ReplyPayloadDelivery,
ReplyPayloadDeliveryPin,
} from "../interactive/payload.js";
export {
hasInteractiveReplyBlocks,
hasMessagePresentationBlocks,
hasReplyChannelData,
hasReplyContent,
interactiveReplyToPresentation,
isMessagePresentationInteractiveBlock,
normalizeMessagePresentation,
normalizeInteractiveReply,
presentationToInteractiveControlsReply,
presentationToInteractiveReply,
renderMessagePresentationFallbackText,
resolveInteractiveTextFallback,
} from "../interactive/payload.js";