public static class TdApi.TerminateSession 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 |
|---|
TerminateSession()
Default constructor for a function, which terminates a session of the current user.
|
TerminateSession(long sessionId)
Creates a function, which terminates a session of the current user.
|
| 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 TerminateSession()
Returns Ok
public TerminateSession(long sessionId)
Returns Ok
sessionId - Session identifier.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object