public class GetUpdates extends java.lang.Object implements TelegramMethod<Update[]>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
GetUpdates() |
| Modifier and Type | Method and Description |
|---|---|
GetUpdates |
allowedUpdates(java.lang.String... allowedUpdates) |
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 Update[]> |
getReturnType()
Returns the return type of the method.
|
GetUpdates |
limit(java.lang.Integer limit) |
GetUpdates |
offset(java.lang.Long offset) |
GetUpdates |
timeout(java.lang.Integer timeout) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilespublic static final java.lang.String NAME
public GetUpdates offset(java.lang.Long offset)
public GetUpdates limit(java.lang.Integer limit)
public GetUpdates timeout(java.lang.Integer timeout)
public GetUpdates allowedUpdates(java.lang.String... allowedUpdates)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<Update[]>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<Update[]>public java.lang.Class<? extends Update[]> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<Update[]>