Class LinkPreview

  • All Implemented Interfaces:

    @Immutable() 
    public final class LinkPreview
    
                        

    A data class that represents a link preview.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class LinkPreview.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getOriginUrl() The original URL of the link.
      final Attachment getAttachment() The attachment that represents the link preview.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait