public static class SendableStickerMessage.SendableStickerMessageBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
SendableStickerMessage |
build()
Builds the SendableStickerMessage object
|
SendableStickerMessage.SendableStickerMessageBuilder |
disableNotification(boolean disableNotification)
*Optional*
Sets whether or not to disable any notification this message might usually cause.
|
SendableStickerMessage.SendableStickerMessageBuilder |
replyMarkup(ReplyMarkup replyMarkup)
*Optional*
Sets the ReplyMarkup that you want to send with the message
|
SendableStickerMessage.SendableStickerMessageBuilder |
replyTo(long replyTo)
*Optional*
Sets the ID of the message you want to reply to
|
SendableStickerMessage.SendableStickerMessageBuilder |
replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableStickerMessage.SendableStickerMessageBuilder |
sticker(InputFile sticker)
*Required*
Sets the sticker InputFile to be sent
|
public SendableStickerMessage.SendableStickerMessageBuilder sticker(InputFile sticker)
sticker - The sticker InputFilepublic SendableStickerMessage.SendableStickerMessageBuilder replyTo(Message replyTo)
replyTo - The Message object you want to reply topublic SendableStickerMessage.SendableStickerMessageBuilder replyTo(long replyTo)
replyTo - The ID of the message you want to reply topublic SendableStickerMessage.SendableStickerMessageBuilder replyMarkup(ReplyMarkup replyMarkup)
replyMarkup - The ReplyMarkup you want to send with the messagepublic SendableStickerMessage.SendableStickerMessageBuilder disableNotification(boolean disableNotification)
disableNotification - True to disable notifications for this message, False otherwisepublic SendableStickerMessage build()
Copyright © 2017. All rights reserved.