Files
openclaw/src/plugin-sdk/interactive-runtime.ts

36 lines
1.0 KiB
TypeScript

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