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