Package org.drinkless.tdlib
Class TdApi.Call
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Call
-
- Enclosing class:
- TdApi
public static class TdApi.Call extends TdApi.Object
Describes a call.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intidCall identifier, not persistent.booleanisOutgoingTrue, if the call is outgoing.booleanisVideoTrue, if the call is a video call.TdApi.CallStatestateCall state.longuserIdPeer user identifier.
-
Constructor Summary
Constructors Constructor Description Call()Describes a call.Call(int id, long userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state)Describes a call.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public int id
Call identifier, not persistent.
-
userId
public long userId
Peer user identifier.
-
isOutgoing
public boolean isOutgoing
True, if the call is outgoing.
-
isVideo
public boolean isVideo
True, if the call is a video call.
-
state
public TdApi.CallState state
Call state.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Call
public Call()
Describes a call.
-
Call
public Call(int id, long userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state)Describes a call.- Parameters:
id- Call identifier, not persistent.userId- Peer user identifier.isOutgoing- True, if the call is outgoing.isVideo- True, if the call is a video call.state- Call state.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-