Module tdlight.api

Class TdApi.MessageLink

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageLink
Enclosing class:
TdApi

public static final class TdApi.MessageLink extends TdApi.Object
Contains an HTTPS link to a message in a supergroup or channel, or a forum topic.
  • Field Details

    • isPublic

      public boolean isPublic
      True, if the link will work for non-members of the chat.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • MessageLink

      public MessageLink()
      Contains an HTTPS link to a message in a supergroup or channel, or a forum topic.
    • MessageLink

      public MessageLink(String link, boolean isPublic)
      Contains an HTTPS link to a message in a supergroup or channel, or a forum topic.
      Parameters:
      link - String The link.
      isPublic - boolean True, if the link will work for non-members of the chat.
    • MessageLink

      public MessageLink(DataInput input) throws IOException
      Contains an HTTPS link to a message in a supergroup or channel, or a forum topic.
      Throws:
      IOException
  • Method Details