Skip to main content

@wildix/xbees-users-client > GetUserEmailNotificationsSettingsCommand

GetUserEmailNotificationsSettingsCommand class

Getting user email notifications settings

Signature:

export declare class GetUserEmailNotificationsSettingsCommand extends GetUserEmailNotificationsSettingsCommand_base 

Extends: GetUserEmailNotificationsSettingsCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { UsersClient, GetUserEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, GetUserEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // GetUserEmailNotificationsSettingsInput
userId: "STRING_VALUE", // required
};
const command = new GetUserEmailNotificationsSettingsCommand(input);
const response = await client.send(command);
// { // GetUserEmailNotificationsSettingsOutput
// notifications: { // UserEmailNotificationsSettings
// unread: true || false, // required
// transcription: true || false, // required
// },
// };