@wildix/classound-client > SendSmsFromApplicationCommand
SendSmsFromApplicationCommand class
Signature:
export declare class SendSmsFromApplicationCommand extends SendSmsFromApplicationCommand_base
Extends: SendSmsFromApplicationCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { ClassoundClient, SendSmsFromApplicationCommand } from "@wildix/classound-client"; // ES Modules import
// const { ClassoundClient, SendSmsFromApplicationCommand } = require("@wildix/classound-client"); // CommonJS import
const client = new ClassoundClient(config);
const input = { // SendSmsFromApplicationInput
from: "STRING_VALUE", // required
to: "STRING_VALUE", // required
message: "STRING_VALUE", // required
};
const command = new SendSmsFromApplicationCommand(input);
const response = await client.send(command);
// { // SendSmsFromApplicationOutput
// type: "STRING_VALUE",
// success: true || false,
// status: "STRING_VALUE",
// id: [ // StringList
// "STRING_VALUE",
// ],
// company: "STRING_VALUE",
// data: { // SendSmsData
// from: "STRING_VALUE",
// to: "STRING_VALUE",
// message: "STRING_VALUE",
// pbx: "STRING_VALUE",
// extension: "STRING_VALUE",
// },
// };