Class TdApi.ToggleBasicGroupAdministrators

  • Enclosing class:
    TdApi

    public static class TdApi.ToggleBasicGroupAdministrators
    extends TdApi.Function
    Toggles the "All members are admins" setting in basic groups; requires creator privileges in the group.

    Returns Ok

    • Field Detail

      • basicGroupId

        public int basicGroupId
        Identifier of the basic group.
      • everyoneIsAdministrator

        public boolean everyoneIsAdministrator
        New value of everyoneIsAdministrator.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ToggleBasicGroupAdministrators

        public ToggleBasicGroupAdministrators()
        Default constructor.
      • ToggleBasicGroupAdministrators

        public ToggleBasicGroupAdministrators​(int basicGroupId,
                                              boolean everyoneIsAdministrator)
        Constructor for initialization of all fields.
        Parameters:
        basicGroupId - Identifier of the basic group.
        everyoneIsAdministrator - New value of everyoneIsAdministrator.