Class TdApi.SetBusinessAwayMessageSettings

Enclosing class:
TdApi

public static class TdApi.SetBusinessAwayMessageSettings extends TdApi.Function<TdApi.Ok>
Changes the business away message settings of the current user. Requires Telegram Business subscription.

Returns Ok

  • Field Details

    • awayMessageSettings

      public TdApi.BusinessAwayMessageSettings awayMessageSettings
      The new settings for the away message of the business; pass null to disable the away message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetBusinessAwayMessageSettings

      public SetBusinessAwayMessageSettings()
      Default constructor for a function, which changes the business away message settings of the current user. Requires Telegram Business subscription.

      Returns Ok

    • SetBusinessAwayMessageSettings

      public SetBusinessAwayMessageSettings(TdApi.BusinessAwayMessageSettings awayMessageSettings)
      Creates a function, which changes the business away message settings of the current user. Requires Telegram Business subscription.

      Returns Ok

      Parameters:
      awayMessageSettings - The new settings for the away message of the business; pass null to disable the away message.
  • 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