public class SetChatPhoto extends java.lang.Object implements TelegramMethod<java.lang.Boolean>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
SetChatPhoto() |
| Modifier and Type | Method and Description |
|---|---|
SetChatPhoto |
chat(Chat chat) |
SetChatPhoto |
chat(java.lang.Long chatId) |
SetChatPhoto |
chat(java.lang.String chatUsername) |
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<java.lang.Boolean> |
getReturnType()
Returns the return type of the method.
|
SetChatPhoto |
photo(UploadFile newPhoto) |
public static final java.lang.String NAME
public SetChatPhoto chat(java.lang.String chatUsername)
public SetChatPhoto chat(java.lang.Long chatId)
public SetChatPhoto chat(Chat chat)
public SetChatPhoto photo(UploadFile newPhoto)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<java.lang.Boolean>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<java.lang.Boolean>public java.util.Map<java.lang.String,UploadFile> getFiles()
TelegramMethodgetFiles in interface TelegramMethod<java.lang.Boolean>public java.lang.Class<java.lang.Boolean> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<java.lang.Boolean>