public static class TdApi.InputMessageLocation extends TdApi.InputMessageContent
TdApi.InputMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
livePeriod
Period for which the location can be updated, in seconds; should be between 60 and 86400 for a live location and 0 otherwise.
|
TdApi.Location |
location
Location to be sent.
|
Constructor and Description |
---|
InputMessageLocation()
A message with a location.
|
InputMessageLocation(TdApi.Location location,
int livePeriod)
A message with a location.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Location location
public int livePeriod
public static final int CONSTRUCTOR
public InputMessageLocation()
public InputMessageLocation(TdApi.Location location, int livePeriod)
location
- Location to be sent.livePeriod
- Period for which the location can be updated, in seconds; should be between 60 and 86400 for a live location and 0 otherwise.public int getConstructor()
getConstructor
in class TdApi.InputMessageContent