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
User identifier of the other call participant.
|
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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 - 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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object