public class UploadStickerFile extends java.lang.Object implements TelegramMethod<InputFile>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
UploadStickerFile() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,UploadFile> |
getFiles()
Return the file parameters of the method.
|
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.
|
UploadStickerFile |
sticker(UploadFile sticker) |
UploadStickerFile |
user(long userId) |
UploadStickerFile |
user(User user) |
public static final java.lang.String NAME
public UploadStickerFile user(long userId)
public UploadStickerFile user(User user)
public UploadStickerFile sticker(UploadFile sticker)
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.util.Map<java.lang.String,UploadFile> getFiles()
TelegramMethodgetFiles in interface TelegramMethod<InputFile>public java.lang.Class<? extends InputFile> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<InputFile>