- Enclosing class:
- TdApi
Toggles whether the supergroup is a
forum; requires owner privileges in the supergroup.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
New value of isForum.long
Identifier of the supergroup. -
Constructor Summary
ConstructorDescriptionToggles whether the supergroup is a forum; requires owner privileges in the supergroup.ToggleSupergroupIsForum
(long supergroupId, boolean isForum) Toggles whether the supergroup is a forum; requires owner privileges in the supergroup.ToggleSupergroupIsForum
(DataInput input) Toggles whether the supergroup is a forum; requires owner privileges 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
-
supergroupId
public long supergroupIdIdentifier of the supergroup. -
isForum
public boolean isForumNew value of isForum. A supergroup can be converted to a forum, only if it has at least GetOption("forum_member_count_min") members. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleSupergroupIsForum
public ToggleSupergroupIsForum()Toggles whether the supergroup is a forum; requires owner privileges in the supergroup. ReturnsOk
-
ToggleSupergroupIsForum
public ToggleSupergroupIsForum(long supergroupId, boolean isForum) Toggles whether the supergroup is a forum; requires owner privileges in the supergroup. ReturnsOk
- Parameters:
supergroupId
- long Identifier of the supergroup.isForum
- boolean New value of isForum. A supergroup can be converted to a forum, only if it has at least GetOption("forum_member_count_min") members.
-
ToggleSupergroupIsForum
Toggles whether the supergroup is a forum; requires owner privileges 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()
-