Class 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 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.