Skip to content

Commit 26ba784

Browse files
committed
fix(synology-chat): add sanitizeText to outbound type contract
1 parent 142b0fe commit 26ba784

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extensions/synology-chat/src/channel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ type SynologyChatPlugin = Omit<
181181
outbound: {
182182
deliveryMode: "gateway";
183183
textChunkLimit: number;
184+
sanitizeText?: (params: { text: string; payload: { text: string } }) => string;
184185
sendText: (ctx: SynologyChannelSendTextContext) => Promise<SynologyChatOutboundResult>;
185186
sendMedia: (ctx: SynologyChannelSendMediaContext) => Promise<SynologyChatOutboundResult>;
186187
};

0 commit comments

Comments
 (0)