- Enclosing class:
- TdApi
Toggles whether the supergroup is a
forum; requires owner privileges in
the supergroup. Discussion supergroups
can't be converted to forums.
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. -
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. Discussion supergroups can't be converted to forums. ReturnsOk
-
ToggleSupergroupIsForum
public ToggleSupergroupIsForum(long supergroupId, boolean isForum) Toggles whether the supergroup is a forum; requires owner privileges in the supergroup. Discussion supergroups can't be converted to forums. ReturnsOk
- Parameters:
supergroupId
- long Identifier of the supergroup.isForum
- boolean New value of isForum.
-
ToggleSupergroupIsForum
Toggles whether the supergroup is a forum; requires owner privileges in the supergroup. Discussion supergroups can't be converted to forums. 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()
-