public static class TdApi.TerminateSession extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public long sessionId
public static final int CONSTRUCTOR
public TerminateSession()
Returns Ok
public TerminateSession(long sessionId)
Returns Ok
sessionId
- Session identifier.public int getConstructor()
getConstructor
in class TdApi.Function