Class TdApi.ToggleSupergroupIsBroadcastGroup

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 Details

    • supergroupId

      public long supergroupId
      Identifier of the supergroup.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details