java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Call
- Enclosing class:
- TdApi
Describes a call.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Call identifier, not persistent.boolean
True, if the call is outgoing.boolean
True, if the call is a video call.Call state.long
Peer user identifier. -
Constructor Summary
ConstructorDescriptionCall()
Describes a call.Call
(int id, long userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state) Describes a call.Describes a call. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idCall identifier, not persistent. -
userId
public long userIdPeer user identifier. -
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 CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Call
public Call()Describes a call. -
Call
Describes a call.- Parameters:
id
- int Call identifier, not persistent.userId
- long Peer user identifier.isOutgoing
- boolean True, if the call is outgoing.isVideo
- boolean True, if the call is a video call.state
- CallState Call state.
-
Call
Describes a call.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-