Package it.tdlight.jni
Class TdApi.InternalLinkTypePublicChat
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InternalLinkType
it.tdlight.jni.TdApi.InternalLinkTypePublicChat
- Enclosing class:
- TdApi
public static class TdApi.InternalLinkTypePublicChat extends TdApi.InternalLinkType
The link is a link to a chat by its
username. Call searchPublicChat with
the given chat username to process the link.
-
Field Summary
Fields Modifier and Type Field Description String
chatUsername
Username of the chat.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description InternalLinkTypePublicChat()
The link is a link to a chat by its username.InternalLinkTypePublicChat(DataInput input)
InternalLinkTypePublicChat(String chatUsername)
The link is a link to a chat by its username. -
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.Object
serialize, toString
-
Field Details
-
chatUsername
Username of the chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InternalLinkTypePublicChat
public InternalLinkTypePublicChat()The link is a link to a chat by its username. Call searchPublicChat with the given chat username to process the link. -
InternalLinkTypePublicChat
The link is a link to a chat by its username. Call searchPublicChat with the given chat username to process the link.- Parameters:
chatUsername
- String Username of the chat.
-
InternalLinkTypePublicChat
- 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()
-