Class SendLocationMessage
- java.lang.Object
-
- org.apache.camel.component.telegram.model.OutgoingMessage
-
- org.apache.camel.component.telegram.model.SendLocationMessage
-
- All Implemented Interfaces:
Serializable
public class SendLocationMessage extends OutgoingMessage
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
-
Constructor Summary
Constructors Constructor Description SendLocationMessage()SendLocationMessage(double latitude, double longitude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplyMarkupgetReplyMarkup()voidsetLatitude(double latitude)voidsetLivePeriod(Integer livePeriod)voidsetLongitude(double longitude)voidsetReplyMarkup(ReplyMarkup replyMarkup)StringtoString()-
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId
-
-
-
-
Method Detail
-
setLatitude
public void setLatitude(double latitude)
-
setLongitude
public void setLongitude(double longitude)
-
setLivePeriod
public void setLivePeriod(Integer livePeriod)
-
getReplyMarkup
public ReplyMarkup getReplyMarkup()
-
setReplyMarkup
public void setReplyMarkup(ReplyMarkup replyMarkup)
-
toString
public String toString()
- Overrides:
toStringin classOutgoingMessage
-
-