- Enclosing class:
- TdApi
Returns an HTTPS or a tg: link with
the given type. Can be called before authorization.
Returns
HttpUrl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
Pass true to create an HTTPS link (only available for some link types); pass false to create a tg: link.Expected type of the link. -
Constructor Summary
ConstructorDescriptionReturns an HTTPS or a tg: link with the given type.GetInternalLink
(TdApi.InternalLinkType type, boolean isHttp) Returns an HTTPS or a tg: link with the given type.GetInternalLink
(DataInput input) Returns an HTTPS or a tg: link with the given type. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
type
Expected type of the link. -
isHttp
public boolean isHttpPass true to create an HTTPS link (only available for some link types); pass false to create a tg: link. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetInternalLink
public GetInternalLink()Returns an HTTPS or a tg: link with the given type. Can be called before authorization. ReturnsHttpUrl
-
GetInternalLink
Returns an HTTPS or a tg: link with the given type. Can be called before authorization. ReturnsHttpUrl
- Parameters:
type
- InternalLinkType Expected type of the link.isHttp
- boolean Pass true to create an HTTPS link (only available for some link types); pass false to create a tg: link.
-
GetInternalLink
Returns an HTTPS or a tg: link with the given type. Can be called before authorization. ReturnsHttpUrl
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-