Class TdApi.SetSupergroupMainProfileTab

Enclosing class:
TdApi

public static class TdApi.SetSupergroupMainProfileTab extends TdApi.Function<TdApi.Ok>
Changes the main profile tab of the channel; requires canChangeInfo administrator right.

Returns Ok

  • Field Details

    • supergroupId

      public long supergroupId
      Identifier of the channel.
    • mainProfileTab

      public TdApi.ProfileTab mainProfileTab
      The new value of the main profile tab.
    • CONSTRUCTOR

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

    • SetSupergroupMainProfileTab

      public SetSupergroupMainProfileTab()
      Default constructor for a function, which changes the main profile tab of the channel; requires canChangeInfo administrator right.

      Returns Ok

    • SetSupergroupMainProfileTab

      public SetSupergroupMainProfileTab(long supergroupId, TdApi.ProfileTab mainProfileTab)
      Creates a function, which changes the main profile tab of the channel; requires canChangeInfo administrator right.

      Returns Ok

      Parameters:
      supergroupId - Identifier of the channel.
      mainProfileTab - The new value of the main profile tab.
  • 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