public static class TdApi.TextQuote extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isManual
True, if the quote was manually chosen by the message sender.
|
int |
position
Approximate quote position in the original message in UTF-16 code units as specified by the message sender.
|
TdApi.FormattedText |
text
Text of the quote.
|
| Constructor and Description |
|---|
TextQuote()
Describes manually or automatically chosen quote from another message.
|
TextQuote(TdApi.FormattedText text,
int position,
boolean isManual)
Describes manually or automatically chosen quote from another message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.FormattedText text
public int position
public boolean isManual
public static final int CONSTRUCTOR
public TextQuote()
public TextQuote(TdApi.FormattedText text, int position, boolean isManual)
text - Text of the quote. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities can be present in the text.position - Approximate quote position in the original message in UTF-16 code units as specified by the message sender.isManual - True, if the quote was manually chosen by the message sender.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object