public class SetChatTitle extends java.lang.Object implements TelegramMethod<java.lang.Boolean>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
SetChatTitle() |
| Modifier and Type | Method and Description |
|---|---|
SetChatTitle |
chat(Chat chat) |
SetChatTitle |
chat(java.lang.Long chatId) |
SetChatTitle |
chat(java.lang.String chatUsername) |
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.
|
SetChatTitle |
title(java.lang.String title) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilespublic static final java.lang.String NAME
public SetChatTitle chat(java.lang.String chatUsername)
public SetChatTitle chat(java.lang.Long chatId)
public SetChatTitle chat(Chat chat)
public SetChatTitle title(java.lang.String title)
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.lang.Class<java.lang.Boolean> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<java.lang.Boolean>