public static class TdApi.ToggleSupergroupIsBroadcastGroup extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
supergroupId
Identifier of the supergroup.
|
| Constructor and Description |
|---|
ToggleSupergroupIsBroadcastGroup()
Default constructor for a function, which upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.
|
ToggleSupergroupIsBroadcastGroup(long supergroupId)
Creates a function, which upgrades supergroup to a broadcast group; 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 static final int CONSTRUCTOR
public ToggleSupergroupIsBroadcastGroup()
Returns Ok
public ToggleSupergroupIsBroadcastGroup(long supergroupId)
Returns Ok
supergroupId - Identifier of the supergroup.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object