Class TdApi.InternalLinkTypeDirectMessagesChat

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InternalLinkType
org.drinkless.tdlib.TdApi.InternalLinkTypeDirectMessagesChat
Enclosing class:
TdApi

public static class TdApi.InternalLinkTypeDirectMessagesChat extends TdApi.InternalLinkType
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 Details

    • channelUsername

      public String channelUsername
      Username of the channel.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public InternalLinkTypeDirectMessagesChat(String channelUsername)
      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR