public class SendSticker extends java.lang.Object implements TelegramMethod<StickerMessage>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
SendSticker() |
| Modifier and Type | Method and Description |
|---|---|
SendSticker |
chat(Chat chat) |
SendSticker |
chat(java.lang.Long chatId) |
SendSticker |
chat(java.lang.String chatUsername) |
SendSticker |
disableNotification() |
SendSticker |
disableNotification(java.lang.Boolean disableNotification) |
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 StickerMessage> |
getReturnType()
Returns the return type of the method.
|
SendSticker |
replyMarkup(ReplyMarkup replyMarkup) |
SendSticker |
replyToMessage(java.lang.Long replyToMessageId) |
SendSticker |
replyToMessage(Message message) |
SendSticker |
sticker(java.lang.String sticker) |
SendSticker |
sticker(UploadFile newSticker) |
public static final java.lang.String NAME
public SendSticker chat(java.lang.String chatUsername)
public SendSticker chat(java.lang.Long chatId)
public SendSticker chat(Chat chat)
public SendSticker disableNotification(java.lang.Boolean disableNotification)
public SendSticker disableNotification()
public SendSticker replyToMessage(Message message)
public SendSticker replyToMessage(java.lang.Long replyToMessageId)
public SendSticker replyMarkup(ReplyMarkup replyMarkup)
public SendSticker sticker(java.lang.String sticker)
public SendSticker sticker(UploadFile newSticker)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<StickerMessage>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<StickerMessage>public java.util.Map<java.lang.String,UploadFile> getFiles()
TelegramMethodgetFiles in interface TelegramMethod<StickerMessage>public java.lang.Class<? extends StickerMessage> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<StickerMessage>