Package com.jtelegram.api.message.impl
Class LocationMessage
- java.lang.Object
-
- com.jtelegram.api.message.Message<Location>
-
- com.jtelegram.api.message.impl.LocationMessage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jtelegram.api.message.Message
Message.Deserializer
-
-
Constructor Summary
Constructors Constructor Description LocationMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getContent()
Location
getLocation()
EditMessageLiveLocation.EditMessageLiveLocationBuilder
toEditLiveLocationRequest()
Creates a request builder for editing the location represented by this message.java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.Message
getAuthorSignature, getChat, getDate, getEditDate, getForwardDate, getForwardedFrom, getForwardedFromChat, getForwardedFromMessageId, getForwardSignature, getFrom, getMessageId, getReplyToMessage, getSender, toDeleteRequest, toEditReplyMarkupRequest, toForwardRequest
-
-
-
-
Method Detail
-
getContent
public Location getContent()
- Specified by:
getContent
in classMessage<Location>
-
toEditLiveLocationRequest
public EditMessageLiveLocation.EditMessageLiveLocationBuilder toEditLiveLocationRequest()
Creates a request builder for editing the location represented by this message.- Returns:
- the request builder
-
getLocation
public Location getLocation()
-
-