Class InputLocationMessageContent
- java.lang.Object
-
- org.apache.camel.component.telegram.model.InputLocationMessageContent
-
- All Implemented Interfaces:
InputMessageContent
public class InputLocationMessageContent extends Object implements InputMessageContent
Represents the content of a location message to be sent as the result of an inline query.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInputLocationMessageContent.Builder
-
Constructor Summary
Constructors Constructor Description InputLocationMessageContent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputLocationMessageContent.Builderbuilder()FloatgetLatitude()IntegergetLivePeriod()FloatgetLongitude()voidsetLatitude(Float latitude)voidsetLivePeriod(Integer livePeriod)voidsetLongitude(Float longitude)
-
-
-
Method Detail
-
builder
public static InputLocationMessageContent.Builder builder()
-
getLatitude
public Float getLatitude()
-
setLatitude
public void setLatitude(Float latitude)
-
getLongitude
public Float getLongitude()
-
setLongitude
public void setLongitude(Float longitude)
-
getLivePeriod
public Integer getLivePeriod()
-
setLivePeriod
public void setLivePeriod(Integer livePeriod)
-
-