Package org.drinkless.tdlib
Class TdApi.ToggleSupergroupIsBroadcastGroup
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ToggleSupergroupIsBroadcastGroup
-
- Enclosing class:
- TdApi
public static class TdApi.ToggleSupergroupIsBroadcastGroup extends TdApi.Function
Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.longsupergroupIdIdentifier of the supergroup.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
supergroupId
public long supergroupId
Identifier of the supergroup.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToggleSupergroupIsBroadcastGroup
public ToggleSupergroupIsBroadcastGroup()
Default constructor for a function, which upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.Returns
Ok
-
ToggleSupergroupIsBroadcastGroup
public ToggleSupergroupIsBroadcastGroup(long supergroupId)
Creates a function, which upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.Returns
Ok- Parameters:
supergroupId- Identifier of the supergroup.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-