public class InputLocationMessageContent extends Object implements InputMessageContent
| Constructor and Description |
|---|
InputLocationMessageContent() |
InputLocationMessageContent(Float latitude,
Float longitude) |
| Modifier and Type | Method and Description |
|---|---|
Float |
getLatitude() |
Integer |
getLivePeriod() |
Float |
getLongitude() |
InputLocationMessageContent |
setLatitude(Float latitude) |
InputLocationMessageContent |
setLivePeriod(Integer livePeriod) |
InputLocationMessageContent |
setLongitude(Float longitude) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public Float getLongitude()
public InputLocationMessageContent setLongitude(Float longitude)
public Float getLatitude()
public InputLocationMessageContent setLatitude(Float latitude)
public Integer getLivePeriod()
public InputLocationMessageContent setLivePeriod(Integer livePeriod)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2019. All rights reserved.