public class PinChatMessage extends java.lang.Object implements TelegramMethod<java.lang.Boolean>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
PinChatMessage() |
| Modifier and Type | Method and Description |
|---|---|
PinChatMessage |
chat(Chat chat) |
PinChatMessage |
chat(java.lang.Long chatId) |
PinChatMessage |
chat(java.lang.String chatUsername) |
PinChatMessage |
disableNotification() |
PinChatMessage |
disableNotification(java.lang.Boolean disableNotification) |
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.
|
PinChatMessage |
message(java.lang.Long messageId) |
PinChatMessage |
message(Message message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilespublic static final java.lang.String NAME
public PinChatMessage chat(java.lang.String chatUsername)
public PinChatMessage chat(java.lang.Long chatId)
public PinChatMessage chat(Chat chat)
public PinChatMessage disableNotification(java.lang.Boolean disableNotification)
public PinChatMessage disableNotification()
public PinChatMessage message(java.lang.Long messageId)
public PinChatMessage message(Message message)
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>