- Enclosing class:
- TdApi
Returns an HTTPS or a tg: link with
the given type. Can be called before authorization.
Returns
HttpUrl-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intbooleanPass 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
ConstructorsConstructorDescriptionReturns 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-