public static class TdApi.InternalLinkTypeMessageDraft extends TdApi.InternalLinkType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
containsLink
True, if the first line of the text contains a link.
|
TdApi.FormattedText |
text
Message draft text.
|
| Constructor and Description |
|---|
InternalLinkTypeMessageDraft()
The link contains a message draft text.
|
InternalLinkTypeMessageDraft(TdApi.FormattedText text,
boolean containsLink)
The link contains a message draft text.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.FormattedText text
public boolean containsLink
public static final int CONSTRUCTOR
public InternalLinkTypeMessageDraft()
public InternalLinkTypeMessageDraft(TdApi.FormattedText text, boolean containsLink)
text - Message draft text.containsLink - True, if the first line of the text contains a link. If true, the input field needs to be focused and the text after the link must be selected.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object