Update send-message-helper.js

This commit is contained in:
huxuejian 2026-02-11 17:11:16 +08:00
parent dfb4465364
commit 21c8f4a946

View File

@ -192,6 +192,7 @@ export async function sendArticleMessage(article, options = {}) {
userId: options.userId,
customerId: options.customerId,
corpId: options.corpId,
uniqueRecord: 'YES'
};
if (options.teamId) {
params.teamId = options.teamId;
@ -424,7 +425,7 @@ export async function handleFollowUpMessages(messages, context = {}) {
corpId: context.corpId,
});
} else if (msg.type === 'questionnaire') {
success = await sendSurveyMessage(msg.content, {
userId: context.userId,
customerId: context.customerId,