public static class TdApi.ConfirmSession extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
sessionId
Session identifier.
|
| Constructor and Description |
|---|
ConfirmSession()
Default constructor for a function, which confirms an unconfirmed session of the current user from another device.
|
ConfirmSession(long sessionId)
Creates a function, which confirms an unconfirmed session of the current user from another device.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long sessionId
public static final int CONSTRUCTOR
public ConfirmSession()
Returns Ok
public ConfirmSession(long sessionId)
Returns Ok
sessionId - Session identifier.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object