Class TdApi.SetBusinessStartPage

Enclosing class:
TdApi

public static class TdApi.SetBusinessStartPage extends TdApi.Function<TdApi.Ok>
Changes the business start page of the current user. Requires Telegram Business subscription.

Returns Ok

  • Field Details

    • startPage

      public TdApi.InputBusinessStartPage startPage
      The new start page of the business; pass null to remove custom start page.
    • CONSTRUCTOR

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

    • SetBusinessStartPage

      public SetBusinessStartPage()
      Default constructor for a function, which changes the business start page of the current user. Requires Telegram Business subscription.

      Returns Ok

    • SetBusinessStartPage

      public SetBusinessStartPage(TdApi.InputBusinessStartPage startPage)
      Creates a function, which changes the business start page of the current user. Requires Telegram Business subscription.

      Returns Ok

      Parameters:
      startPage - The new start page of the business; pass null to remove custom start page.
  • 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