Klasse MessagingAttachment

java.lang.Object
com.restfb.types.webhook.messaging.MessagingAttachment

public class MessagingAttachment extends Object
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • isAudio

      public boolean isAudio()
      convenience method to check if the attachment type is audio
      Gibt zurück:
      true if audio, false if not audio
    • isFallback

      public boolean isFallback()
      convenience method to check if the attachment type is fallback
      Gibt zurück:
      true if fallback, false if not fallback
    • isFile

      public boolean isFile()
      convenience method to check if the attachment type is file
      Gibt zurück:
      true if file, false if not file
    • isImage

      public boolean isImage()
      convenience method to check if the attachment type is image
      Gibt zurück:
      true if image, false if not image
    • isLocation

      public boolean isLocation()
      convenience method to check if the attachment type is location
      Gibt zurück:
      true if location, false if not location
    • isVideo

      public boolean isVideo()
      convenience method to check if the attachment type is video
      Gibt zurück:
      true if video, false if not video
    • isTemplate

      public boolean isTemplate()
      convenience method to check if the attachment type is template
      Gibt zurück:
      true if template, false if not template
    • isUnsupportedType

      public boolean isUnsupportedType()
      convenience method to check if the attachment type is unsupported
      Gibt zurück:
      true if unsupported type, false if supported
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getPayload

    • setPayload

      public void setPayload(MessagingPayload payload)