Package org.drinkless.tdlib

# Class TdApi.BusinessAwayMessageSettings

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BusinessAwayMessageSettings

Enclosing class:
  `TdApi`

public static class TdApi.BusinessAwayMessageSettings extends TdApi.Object
Describes settings for messages that are automatically sent by a Telegram Business account when it is away.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `boolean`
  `offlineOnly`
  True, if the messages must not be sent if the account was online in the last 10 minutes.
  `TdApi.BusinessRecipients`
  `recipients`
  Chosen recipients of the away messages.
  `TdApi.BusinessAwayMessageSchedule`
  `schedule`
  Settings used to check whether the current user is away.
  `int`
  `shortcutId`
  Unique quick reply shortcut identifier for the away messages.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BusinessAwayMessageSettings()`
  Describes settings for messages that are automatically sent by a Telegram Business account when it is away.
  `BusinessAwayMessageSettings(int shortcutId, TdApi.BusinessRecipients recipients, TdApi.BusinessAwayMessageSchedule schedule, boolean offlineOnly)`
  Describes settings for messages that are automatically sent by a Telegram Business account when it is away.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### shortcutId

    public int shortcutId
    Unique quick reply shortcut identifier for the away messages.

  - ### recipients

    public TdApi.BusinessRecipients recipients
    Chosen recipients of the away messages.

  - ### schedule

    public TdApi.BusinessAwayMessageSchedule schedule
    Settings used to check whether the current user is away.

  - ### offlineOnly

    public boolean offlineOnly
    True, if the messages must not be sent if the account was online in the last 10 minutes.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### BusinessAwayMessageSettings

    public BusinessAwayMessageSettings()
    Describes settings for messages that are automatically sent by a Telegram Business account when it is away.

  - ### BusinessAwayMessageSettings

    public BusinessAwayMessageSettings(int shortcutId, TdApi.BusinessRecipients recipients, TdApi.BusinessAwayMessageSchedule schedule, boolean offlineOnly)
    Describes settings for messages that are automatically sent by a Telegram Business account when it is away.
    Parameters:
      `shortcutId` - Unique quick reply shortcut identifier for the away messages.
      `recipients` - Chosen recipients of the away messages.
      `schedule` - Settings used to check whether the current user is away.
      `offlineOnly` - True, if the messages must not be sent if the account was online in the last 10 minutes.

- ## Method Details

  - ### getConstructor

    public int getConstructor()
    Description copied from class: `TdApi.Object`
    Returns an identifier uniquely determining type of the object.
    Specified by:
      `getConstructor` in class `TdApi.Object`
    Returns:
      this.CONSTRUCTOR