Package it.tdlight.jni
Class TdApi.GetMessageLinkInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetMessageLinkInfo
- Enclosing class:
- TdApi
public static class TdApi.GetMessageLinkInfo extends TdApi.Function
Returns information about a public or
private message link.
Returns MessageLinkInfo
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
url
The message link in the format "https://t.me/c/...", or "tg://privatepost?...", or "https://t.me/username/...", or "tg://resolve?...". -
Constructor Summary
Constructors Constructor Description GetMessageLinkInfo()
Returns information about a public or private message link.GetMessageLinkInfo(DataInput input)
GetMessageLinkInfo(String url)
Returns information about a public or private message link. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
url
The message link in the format "https://t.me/c/...", or "tg://privatepost?...", or "https://t.me/username/...", or "tg://resolve?...". -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetMessageLinkInfo
public GetMessageLinkInfo()Returns information about a public or private message link.Returns
MessageLinkInfo
-
GetMessageLinkInfo
Returns information about a public or private message link.Returns
MessageLinkInfo
- Parameters:
url
- String The message link in the format "https://t.me/c/...", or "tg://privatepost?...", or "https://t.me/username/...", or "tg://resolve?...".
-
GetMessageLinkInfo
- 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()
-