Package it.tdlight.jni
Class TdApi.GetExternalLinkInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetExternalLinkInfo
- Enclosing class:
- TdApi
public static class TdApi.GetExternalLinkInfo extends TdApi.Function
Returns information about an action
to be done when the current user clicks
an HTTP link. This method can be used
to automatically authorize the current
user on a website. Don't use this
method for links from secret chats if
link preview is disabled in secret chats.
Returns LoginUrlInfo
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
link
The HTTP link. -
Constructor Summary
Constructors Constructor Description GetExternalLinkInfo()
Returns information about an action to be done when the current user clicks an HTTP link.GetExternalLinkInfo(DataInput input)
GetExternalLinkInfo(String link)
Returns information about an action to be done when the current user clicks an HTTP link. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
link
The HTTP link. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetExternalLinkInfo
public GetExternalLinkInfo()Returns information about an action to be done when the current user clicks an HTTP link. This method can be used to automatically authorize the current user on a website. Don't use this method for links from secret chats if link preview is disabled in secret chats.Returns
LoginUrlInfo
-
GetExternalLinkInfo
Returns information about an action to be done when the current user clicks an HTTP link. This method can be used to automatically authorize the current user on a website. Don't use this method for links from secret chats if link preview is disabled in secret chats.Returns
LoginUrlInfo
- Parameters:
link
- String The HTTP link.
-
GetExternalLinkInfo
- 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()
-