Class TdApi.MessageLink

  • Enclosing class:
    TdApi

    public static class TdApi.MessageLink
    extends TdApi.Object
    Contains an HTTPS link to a message in a supergroup or channel.
    • Field Detail

      • link

        public String link
        Message link.
      • isPublic

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

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 - Message link.
        isPublic - True, if the link will work for non-members of the chat.