@wildix/xbees-users-client > PartialUpdateUserEmailNotificationsSettingsCommand
PartialUpdateUserEmailNotificationsSettingsCommand class
Partially update user email notifications settings
Signature:
export declare class PartialUpdateUserEmailNotificationsSettingsCommand extends PartialUpdateUserEmailNotificationsSettingsCommand_base
Extends: PartialUpdateUserEmailNotificationsSettingsCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { UsersClient, PartialUpdateUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, PartialUpdateUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // PartialUpdateUserEmailNotificationsSettingsInput
unread: true || false,
transcription: true || false,
userId: "STRING_VALUE", // required
};
const command = new PartialUpdateUserEmailNotificationsSettingsCommand(input);
const response = await client.send(command);
// { // PartialUpdateUserEmailNotificationsSettingsOutput
// notifications: { // UserEmailNotificationsSettings
// unread: true || false, // required
// transcription: true || false, // required
// },
// };