- Enclosing class:
- TdApi
Toggles whether a session can accept incoming calls.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanPass true to allow accepting incoming calls by the session; pass false otherwise.static final intlongSession identifier. -
Constructor Summary
ConstructorsConstructorDescriptionToggles whether a session can accept incoming calls.ToggleSessionCanAcceptCalls(long sessionId, boolean canAcceptCalls) Toggles whether a session can accept incoming calls.Toggles whether a session can accept incoming calls. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
sessionId
public long sessionIdSession identifier. -
canAcceptCalls
public boolean canAcceptCallsPass true to allow accepting incoming calls by the session; pass false otherwise. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleSessionCanAcceptCalls
public ToggleSessionCanAcceptCalls()Toggles whether a session can accept incoming calls. ReturnsOk -
ToggleSessionCanAcceptCalls
public ToggleSessionCanAcceptCalls(long sessionId, boolean canAcceptCalls) Toggles whether a session can accept incoming calls. ReturnsOk- Parameters:
sessionId- long Session identifier.canAcceptCalls- boolean Pass true to allow accepting incoming calls by the session; pass false otherwise.
-
ToggleSessionCanAcceptCalls
Toggles whether a session can accept incoming calls. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-