- 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
FieldsModifier and TypeFieldDescriptionstatic final intbooleanNew value of isForum.longIdentifier of the supergroup. -
Constructor Summary
ConstructorsConstructorDescriptionToggles 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-