mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 21:01:43 +03:00
Fix: Corrected the sendActivity parameter type from an array to a single activity object
This commit is contained in:
@@ -42,7 +42,7 @@ export function createMSTeamsReplyDispatcher(params: {
|
|||||||
}) {
|
}) {
|
||||||
const core = getMSTeamsRuntime();
|
const core = getMSTeamsRuntime();
|
||||||
const sendTypingIndicator = async () => {
|
const sendTypingIndicator = async () => {
|
||||||
await params.context.sendActivity([{ type: "typing" }]);
|
await params.context.sendActivity({ type: "typing" });
|
||||||
};
|
};
|
||||||
const typingCallbacks = createTypingCallbacks({
|
const typingCallbacks = createTypingCallbacks({
|
||||||
start: sendTypingIndicator,
|
start: sendTypingIndicator,
|
||||||
|
|||||||
Reference in New Issue
Block a user