クラス ContentProvider

java.lang.Object
com.linecorp.bot.model.event.message.ContentProvider

public final class ContentProvider
extends java.lang.Object
  • メソッドの詳細

    • isExternal

      public boolean isExternal()
    • builder

      public static ContentProvider.ContentProviderBuilder builder()
    • toBuilder

    • getType

      public java.lang.String getType()
      Provider of the resource. Only LINE or EXTERNAL can be set.
      • line: LINE. The binary data can be retrieved from the content endpoint.
      • external: Provider other than LINE
    • getOriginalContentUrl

      public java.net.URI getOriginalContentUrl()
      URL of the resource. Only included when type is EXTERNAL.
    • getPreviewImageUrl

      public java.net.URI getPreviewImageUrl()
      URL of the preview resource. Only included when type is EXTERNAL.
    • equals

      public boolean equals​(java.lang.Object o)
      オーバーライド:
      equals クラス内 java.lang.Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 java.lang.Object
    • toString

      public java.lang.String toString()
      オーバーライド:
      toString クラス内 java.lang.Object