Class SendSticker.SendStickerBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendSticker.SendStickerBuilder
-
- Enclosing class:
- SendSticker
public static class SendSticker.SendStickerBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendSticker
build()
SendSticker.SendStickerBuilder
callback(java.util.function.Consumer<StickerMessage> callback)
SendSticker.SendStickerBuilder
chatId(ChatId chatId)
SendSticker.SendStickerBuilder
disableNotification(java.lang.Boolean disableNotification)
SendSticker.SendStickerBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendSticker.SendStickerBuilder
replyMarkup(ReplyMarkup replyMarkup)
SendSticker.SendStickerBuilder
replyToMessageId(java.lang.Integer replyToMessageId)
SendSticker.SendStickerBuilder
sticker(InputFile sticker)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public SendSticker.SendStickerBuilder callback(java.util.function.Consumer<StickerMessage> callback)
-
errorHandler
public SendSticker.SendStickerBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendSticker.SendStickerBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendSticker.SendStickerBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendSticker.SendStickerBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendSticker.SendStickerBuilder replyMarkup(ReplyMarkup replyMarkup)
-
sticker
public SendSticker.SendStickerBuilder sticker(InputFile sticker)
-
build
public SendSticker build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-