public static class TdApi.GetInternalLink extends TdApi.Function<TdApi.HttpUrl>
Returns HttpUrl
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isHttp
Pass true to create an HTTPS link (only available for some link types); pass false to create a tg: link.
|
TdApi.InternalLinkType |
type
Expected type of the link.
|
| Constructor and Description |
|---|
GetInternalLink()
Default constructor for a function, which returns an HTTPS or a tg: link with the given type.
|
GetInternalLink(TdApi.InternalLinkType type,
boolean isHttp)
Creates a function, which returns an HTTPS or a tg: link with the given type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InternalLinkType type
public boolean isHttp
public static final int CONSTRUCTOR
public GetInternalLink()
Returns HttpUrl
public GetInternalLink(TdApi.InternalLinkType type, boolean isHttp)
Returns HttpUrl
type - Expected type of the link.isHttp - Pass true to create an HTTPS link (only available for some link types); pass false to create a tg: link.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object