public static class TdApi.ToggleSupergroupIsForum extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isForum
New value of isForum.
|
long |
supergroupId
Identifier of the supergroup.
|
| Constructor and Description |
|---|
ToggleSupergroupIsForum()
Default constructor for a function, which toggles whether the supergroup is a forum; requires owner privileges in the supergroup.
|
ToggleSupergroupIsForum(long supergroupId,
boolean isForum)
Creates a function, which toggles whether the supergroup is a forum; requires owner privileges in the supergroup.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long supergroupId
public boolean isForum
public static final int CONSTRUCTOR
public ToggleSupergroupIsForum()
Returns Ok
public ToggleSupergroupIsForum(long supergroupId,
boolean isForum)
Returns Ok
supergroupId - Identifier of the supergroup.isForum - New value of isForum.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object