Module tdlight.api

Class TdApi.ToggleSessionCanAcceptCalls

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

public static final class TdApi.ToggleSessionCanAcceptCalls extends TdApi.Function<TdApi.Ok>
Toggles whether a session can accept incoming calls.

Returns Ok

  • Field Details

    • sessionId

      public long sessionId
      Session identifier.
    • canAcceptCalls

      public boolean canAcceptCalls
      True, if incoming calls can be accepted by the session.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleSessionCanAcceptCalls

      public ToggleSessionCanAcceptCalls()
      Toggles whether a session can accept incoming calls.

      Returns Ok

    • ToggleSessionCanAcceptCalls

      public ToggleSessionCanAcceptCalls(long sessionId, boolean canAcceptCalls)
      Toggles whether a session can accept incoming calls.

      Returns Ok

      Parameters:
      sessionId - long Session identifier.
      canAcceptCalls - boolean True, if incoming calls can be accepted by the session.
    • ToggleSessionCanAcceptCalls

      public ToggleSessionCanAcceptCalls(DataInput input) throws IOException
      Toggles whether a session can accept incoming calls.

      Returns Ok

      Throws:
      IOException
  • Method Details