Skip to main content

@wildix/xbees-users-client > BatchGetUsersEmailNotificationsSettingsCommand

BatchGetUsersEmailNotificationsSettingsCommand class

Get multiple user settings by their IDs

Signature:

export declare class BatchGetUsersEmailNotificationsSettingsCommand extends BatchGetUsersEmailNotificationsSettingsCommand_base 

Extends: BatchGetUsersEmailNotificationsSettingsCommand_base

Example

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

import { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // BatchGetUsersEmailNotificationsSettingsInput
usersIds: [ // UsersIdList // required
"STRING_VALUE",
],
};
const command = new BatchGetUsersEmailNotificationsSettingsCommand(input);
const response = await client.send(command);
// { // BatchGetUsersEmailNotificationsSettingsOutput
// notifications: { // UsersEmailNotificationsSettingsMap // required
// "<keys>": { // UserEmailNotificationsSettings
// unread: true || false, // required
// transcription: true || false, // required
// },
// },
// };