public static class TdApi.GetWebPagePreview extends TdApi.Function
Returns WebPage
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.FormattedText |
text
Message text with formatting.
|
Constructor and Description |
---|
GetWebPagePreview()
Default constructor for a function, which returns a web page preview by the text of the message.
|
GetWebPagePreview(TdApi.FormattedText text)
Creates a function, which returns a web page preview by the text of the message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.FormattedText text
public static final int CONSTRUCTOR
public GetWebPagePreview()
Returns WebPage
public GetWebPagePreview(TdApi.FormattedText text)
Returns WebPage
text
- Message text with formatting.public int getConstructor()
getConstructor
in class TdApi.Function