public class SendGame extends java.lang.Object implements TelegramMethod<GameMessage>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
SendGame() |
| Modifier and Type | Method and Description |
|---|---|
SendGame |
chat(Chat chat) |
SendGame |
chat(java.lang.Long chatId) |
SendGame |
disableNotification() |
SendGame |
disableNotification(java.lang.Boolean disableNotification) |
SendGame |
gameShortName(java.lang.String gameShortName) |
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 GameMessage> |
getReturnType()
Returns the return type of the method.
|
SendGame |
replyMarkup(InlineKeyboardMarkup replyMarkup) |
SendGame |
replyToMessage(java.lang.Long replyToMessageId) |
SendGame |
replyToMessage(Message message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilespublic static final java.lang.String NAME
public SendGame chat(java.lang.Long chatId)
public SendGame gameShortName(java.lang.String gameShortName)
public SendGame disableNotification(java.lang.Boolean disableNotification)
public SendGame disableNotification()
public SendGame replyToMessage(java.lang.Long replyToMessageId)
public SendGame replyMarkup(InlineKeyboardMarkup replyMarkup)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<GameMessage>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<GameMessage>public java.lang.Class<? extends GameMessage> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<GameMessage>