public static class TdApi.SetPersonalChat extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the new personal chat; pass 0 to remove the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
SetPersonalChat()
Default constructor for a function, which changes the personal chat of the current user.
|
SetPersonalChat(long chatId)
Creates a function, which changes the personal chat of the current 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 SetPersonalChat()
Returns Ok
public SetPersonalChat(long chatId)
Returns Ok
chatId - Identifier of the new personal chat; pass 0 to remove the chat. Use getSuitablePersonalChats to get suitable chats.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object