Package org.drinkless.tdlib
Class TdApi.InternalLinkTypePublicChat
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InternalLinkType
-
- org.drinkless.tdlib.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 StringchatUsernameUsername of the chat.static intCONSTRUCTORIdentifier uniquely determining type of the object.
-
Constructor Summary
Constructors Constructor Description InternalLinkTypePublicChat()The link is a link to a chat by its username.InternalLinkTypePublicChat(String chatUsername)The link is a link to a chat by its username.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
chatUsername
public String chatUsername
Username of the chat.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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
public InternalLinkTypePublicChat(String chatUsername)
The link is a link to a chat by its username. Call searchPublicChat with the given chat username to process the link.- Parameters:
chatUsername- Username of the chat.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-