@wildix/xbees-conversations-client > SendTypingStopCommand
SendTypingStopCommand class
Sends a typing stop event to a specified channel. This operation requires the channel to be accessible to the user.
Signature:
export declare class SendTypingStopCommand extends SendTypingStopCommand_base
Extends: SendTypingStopCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { ConversationsClient, SendTypingStopCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
// const { ConversationsClient, SendTypingStopCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
const client = new ConversationsClient(config);
const input = { // SendTypingStopInput
channelId: "STRING_VALUE", // required
userId: "STRING_VALUE",
};
const command = new SendTypingStopCommand(input);
const response = await client.send(command);
// {};