Package org.drinkless.tdlib
Class TdApi.InternalLinkTypeDirectMessagesChat
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InternalLinkType
org.drinkless.tdlib.TdApi.InternalLinkTypeDirectMessagesChat
- Enclosing class:
- TdApi
The link is a link to a channel direct messages chat by username of the channel. Call searchPublicChat with the given chat username to process the link. If the chat is found and is channel, open the direct messages chat of the channel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionUsername of the channel.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to a channel direct messages chat by username of the channel.InternalLinkTypeDirectMessagesChat(String channelUsername) The link is a link to a channel direct messages chat by username of the channel. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
channelUsername
Username of the channel. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InternalLinkTypeDirectMessagesChat
public InternalLinkTypeDirectMessagesChat()The link is a link to a channel direct messages chat by username of the channel. Call searchPublicChat with the given chat username to process the link. If the chat is found and is channel, open the direct messages chat of the channel. -
InternalLinkTypeDirectMessagesChat
The link is a link to a channel direct messages chat by username of the channel. Call searchPublicChat with the given chat username to process the link. If the chat is found and is channel, open the direct messages chat of the channel.- Parameters:
channelUsername- Username of the channel.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-