Module tdlight.api

Class TdApi.ToggleSupergroupIsBroadcastGroup

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.ToggleSupergroupIsBroadcastGroup
Enclosing class:
TdApi

public static final class TdApi.ToggleSupergroupIsBroadcastGroup extends TdApi.Function<TdApi.Ok>
Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup. Returns Ok
  • Field Details

    • supergroupId

      public long supergroupId
      Identifier of the supergroup.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleSupergroupIsBroadcastGroup

      public ToggleSupergroupIsBroadcastGroup()
      Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup. Returns Ok
    • ToggleSupergroupIsBroadcastGroup

      public ToggleSupergroupIsBroadcastGroup(long supergroupId)
      Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup. Returns Ok
      Parameters:
      supergroupId - long Identifier of the supergroup.
    • ToggleSupergroupIsBroadcastGroup

      public ToggleSupergroupIsBroadcastGroup(DataInput input) throws IOException
      Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup. Returns Ok
      Throws:
      IOException
  • Method Details