Package org.drinkless.tdlib
Class TdApi.Call
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Call
- Enclosing class:
- TdApi
Describes a call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intCall identifier, not persistent.booleanTrue, if the call is outgoing.booleanTrue, if the call is a video call.Call state.longUser identifier of the other call participant. -
Constructor Summary
ConstructorsConstructorDescriptionCall()Describes a call.Call(int id, long userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state) Describes a call. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public int idCall identifier, not persistent. -
userId
public long userIdUser identifier of the other call participant. -
isOutgoing
public boolean isOutgoingTrue, if the call is outgoing. -
isVideo
public boolean isVideoTrue, if the call is a video call. -
state
Call state. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Call
public Call()Describes a call. -
Call
Describes a call.- Parameters:
id- Call identifier, not persistent.userId- User identifier of the other call participant.isOutgoing- True, if the call is outgoing.isVideo- True, if the call is a video call.state- Call state.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-