public static class TdApi.OpenChat extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
OpenChat()
Default constructor for a function, which informs TDLib that the chat is opened by the user.
|
OpenChat(long chatId)
Creates a function, which informs TDLib that the chat is opened by the user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public static final int CONSTRUCTOR
public OpenChat()
Returns Ok
public OpenChat(long chatId)
Returns Ok
chatId - Chat identifier.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object