public class SendLocation extends java.lang.Object implements TelegramMethod<LocationMessage>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
SendLocation() |
| Modifier and Type | Method and Description |
|---|---|
SendLocation |
chat(Chat chat) |
SendLocation |
chat(java.lang.Long chatId) |
SendLocation |
chat(java.lang.String chatUsername) |
SendLocation |
disableNotification() |
SendLocation |
disableNotification(java.lang.Boolean disableNotification) |
java.lang.String |
getName()
Returns the name of the method.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Return the parameters of the method.
|
java.lang.Class<? extends LocationMessage> |
getReturnType()
Returns the return type of the method.
|
SendLocation |
latitude(java.lang.Float latitude) |
SendLocation |
livePeriod(java.lang.Integer livePeriod) |
SendLocation |
location(Location location) |
SendLocation |
longitude(java.lang.Float longitude) |
SendLocation |
replyMarkup(ReplyMarkup replyMarkup) |
SendLocation |
replyToMessage(java.lang.Long replyToMessageId) |
SendLocation |
replyToMessage(Message message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilespublic static final java.lang.String NAME
public SendLocation chat(java.lang.String chatUsername)
public SendLocation chat(java.lang.Long chatId)
public SendLocation chat(Chat chat)
public SendLocation disableNotification(java.lang.Boolean disableNotification)
public SendLocation disableNotification()
public SendLocation replyToMessage(Message message)
public SendLocation replyToMessage(java.lang.Long replyToMessageId)
public SendLocation replyMarkup(ReplyMarkup replyMarkup)
public SendLocation latitude(java.lang.Float latitude)
public SendLocation longitude(java.lang.Float longitude)
public SendLocation location(Location location)
public SendLocation livePeriod(java.lang.Integer livePeriod)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<LocationMessage>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<LocationMessage>public java.lang.Class<? extends LocationMessage> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<LocationMessage>