mirror of https://github.com/openclaw/openclaw.git
Fix: Corrected the `sendActivity` parameter type from an array to a single activity object
This commit is contained in:
parent
761cb01e20
commit
f300875dfe
|
|
@ -42,7 +42,7 @@ export function createMSTeamsReplyDispatcher(params: {
|
|||
}) {
|
||||
const core = getMSTeamsRuntime();
|
||||
const sendTypingIndicator = async () => {
|
||||
await params.context.sendActivity([{ type: "typing" }]);
|
||||
await params.context.sendActivity({ type: "typing" });
|
||||
};
|
||||
const typingCallbacks = createTypingCallbacks({
|
||||
start: sendTypingIndicator,
|
||||
|
|
|
|||
Loading…
Reference in New Issue