public static class TdApi.SetChatLocation 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.
|
TdApi.ChatLocation |
location
New location for the chat; must be valid and not null.
|
| Constructor and Description |
|---|
SetChatLocation()
Default constructor for a function, which changes the location of a chat.
|
SetChatLocation(long chatId,
TdApi.ChatLocation location)
Creates a function, which changes the location of a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.ChatLocation location
public static final int CONSTRUCTOR
public SetChatLocation()
Returns Ok
public SetChatLocation(long chatId,
TdApi.ChatLocation location)
Returns Ok
chatId - Chat identifier.location - New location for the chat; must be valid and not null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object