| Package | Description |
|---|---|
| pro.zackpollard.telegrambot.api.chat.message.send |
| Modifier and Type | Method and Description |
|---|---|
static SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.builder()
This builder will allow you to progressively construct this object.
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextBuilder.buildText()
Set the SendableTextMessageBuilder's text to the created text.
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.disableNotification(boolean disableNotification)
*Optional*
Sets whether or not to disable any notification this message might usually cause.
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.disableWebPagePreview(boolean disableWebPagePreview) |
static SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.html(String text)
This builder will be created with the text you provide already added with HTML formatting enabled.
|
static SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.markdown(String text)
This builder will be created with the text you provide already added with markdown formatting enabled.
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.message(String message)
*Required*
Sets the text to be sent
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.parseMode(ParseMode parseMode)
*Optional*
Sets the ParseMode that you want to use for this message
|
static SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.plain(String text)
This builder will be created with the text you provide already added with markdown formatting enabled.
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.replyMarkup(ReplyMarkup replyMarkup)
*Optional*
Sets the ReplyMarkup that you want to send with the message
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.replyTo(long replyTo)
*Optional*
Sets the ID of the message you want to reply to
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
Copyright © 2017. All rights reserved.