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