- Enclosing class:
- TdApi
Toggles whether a General topic is
hidden in a forum supergroup chat;
requires canManageTopics administrator
right in the supergroup.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat.static final int
boolean
Pass true to hide and close the General topic; pass false to unhide it. -
Constructor Summary
ConstructorDescriptionToggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup.ToggleGeneralForumTopicIsHidden
(long chatId, boolean isHidden) Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup.Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat. -
isHidden
public boolean isHiddenPass 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. ReturnsOk
-
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. ReturnsOk
- Parameters:
chatId
- long Identifier of the chat.isHidden
- boolean Pass true to hide and close the General topic; pass false to unhide it.
-
ToggleGeneralForumTopicIsHidden
Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-