Methods

setBusinessAwayMessage

Set the current user’s business away message. USER-ONLY

Parameters

shortcutId: number

The identifier of the quick reply shortcut to send.

The schedule on which to send the away message.

The recipients to send the away message to.

isOfflineOnly?: boolean

Whether the away message should be sent only when the account is offline.

Result

void

Syntax

// Required parameters only.
await client.setBusinessAwayMessage(shortcutId, schedule, recipients);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setBusinessAwayMessage(shortcutId, schedule, recipients, { isOfflineOnly });