public static class TdApi.ToggleSupergroupIsBroadcastGroup extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function