public static class TdApi.SetChatLocation extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function