Class TdApi.SetBusinessGreetingMessageSettings

Enclosing class:
TdApi

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

Returns Ok

  • Field Details

    • greetingMessageSettings

      public TdApi.BusinessGreetingMessageSettings greetingMessageSettings
      The new settings for the greeting message of the business; pass null to disable the greeting message.
    • CONSTRUCTOR

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

    • SetBusinessGreetingMessageSettings

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

      Returns Ok

    • SetBusinessGreetingMessageSettings

      public SetBusinessGreetingMessageSettings(TdApi.BusinessGreetingMessageSettings greetingMessageSettings)
      Creates a function, which changes the business greeting message settings of the current user. Requires Telegram Business subscription.

      Returns Ok

      Parameters:
      greetingMessageSettings - The new settings for the greeting message of the business; pass null to disable the greeting 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