public static class TdApi.Call extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
id
Call identifier, not persistent.
|
boolean |
isOutgoing
True, if the call is outgoing.
|
boolean |
isVideo
True, if the call is a video call.
|
TdApi.CallState |
state
Call state.
|
long |
userId
Peer user identifier.
|
Constructor and Description |
---|
Call()
Describes a call.
|
Call(int id,
long userId,
boolean isOutgoing,
boolean isVideo,
TdApi.CallState state)
Describes a call.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int id
public long userId
public boolean isOutgoing
public boolean isVideo
public TdApi.CallState state
public static final int CONSTRUCTOR
public Call()
public Call(int id, long userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state)
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.public int getConstructor()
getConstructor
in class TdApi.Object