public static class TdApi.InputTextQuote extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
position
Quote position in the original message in UTF-16 code units.
|
TdApi.FormattedText |
text
Text of the quote; 0-getOption("message_reply_quote_length_max") characters.
|
| Constructor and Description |
|---|
InputTextQuote()
Describes manually chosen quote from another message.
|
InputTextQuote(TdApi.FormattedText text,
int position)
Describes manually 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 static final int CONSTRUCTOR
public InputTextQuote()
public InputTextQuote(TdApi.FormattedText text, int position)
text - Text of the quote; 0-getOption("message_reply_quote_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed to be kept and must be kept in the quote.position - Quote position in the original message in UTF-16 code units.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object