- 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
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat.static final intbooleanPass true to hide and close the General topic; pass false to unhide it. -
Constructor Summary
ConstructorsConstructorDescriptionToggles 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-