Module tdlight.api

Class TdApi.ToggleSupergroupJoinByRequest

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

public static final class TdApi.ToggleSupergroupJoinByRequest extends TdApi.Function<TdApi.Ok>
Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. Returns Ok
  • Field Details

    • supergroupId

      public long supergroupId
      Identifier of the channel.
    • joinByRequest

      public boolean joinByRequest
      New value of joinByRequest.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleSupergroupJoinByRequest

      public ToggleSupergroupJoinByRequest()
      Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. Returns Ok
    • ToggleSupergroupJoinByRequest

      public ToggleSupergroupJoinByRequest(long supergroupId, boolean joinByRequest)
      Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. Returns Ok
      Parameters:
      supergroupId - long Identifier of the channel.
      joinByRequest - boolean New value of joinByRequest.
    • ToggleSupergroupJoinByRequest

      public ToggleSupergroupJoinByRequest(DataInput input) throws IOException
      Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. Returns Ok
      Throws:
      IOException
  • Method Details