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.
  • 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.
    • MessageLink

      public MessageLink(String link, boolean isPublic)
      Contains an HTTPS link to a message in a supergroup or channel.
      Parameters:
      link - String Message 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.
      Throws:
      IOException
  • Method Details