Module tdlight.api

Class TdApi.ToggleGeneralForumTopicIsHidden

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.ToggleGeneralForumTopicIsHidden
Enclosing class:
TdApi

public static final class TdApi.ToggleGeneralForumTopicIsHidden extends TdApi.Function<TdApi.Ok>
Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup. Returns Ok
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat.
    • isHidden

      public boolean isHidden
      Pass true to hide and close the General topic; pass false to unhide it.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleGeneralForumTopicIsHidden

      public ToggleGeneralForumTopicIsHidden()
      Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup. Returns Ok
    • ToggleGeneralForumTopicIsHidden

      public ToggleGeneralForumTopicIsHidden(long chatId, boolean isHidden)
      Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup. Returns Ok
      Parameters:
      chatId - long Identifier of the chat.
      isHidden - boolean Pass true to hide and close the General topic; pass false to unhide it.
    • ToggleGeneralForumTopicIsHidden

      public ToggleGeneralForumTopicIsHidden(DataInput input) throws IOException
      Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup. Returns Ok
      Throws:
      IOException
  • Method Details