public static class TdApi.InternalLinkTypeMessageDraft extends TdApi.InternalLinkType
TdApi.InternalLinkType.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.InternalLinkType