public class InputTextMessageContent extends Object implements InputMessageContent
| Modifier and Type | Class and Description |
|---|---|
static class |
InputTextMessageContent.InputTextMessageContentBuilder
The builder for the InputTextMessageContent object
|
| Constructor and Description |
|---|
InputTextMessageContent() |
| Modifier and Type | Method and Description |
|---|---|
static InputTextMessageContent.InputTextMessageContentBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getMessageText()
Gets the text of this message
|
ParseMode |
getParseMode()
Gets the ParseMode used for this message
|
InputMessageContentType |
getType()
Gets the type of InputMessageContent that this object represents
|
boolean |
isDisableWebPagePreview()
Gets whether the web page preview is disabled for this message
|
public static InputTextMessageContent.InputTextMessageContentBuilder builder()
@NonNull public String getMessageText()
public ParseMode getParseMode()
public boolean isDisableWebPagePreview()
public InputMessageContentType getType()
getType in interface InputMessageContentCopyright © 2017. All rights reserved.