Class AttachmentUtilsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • isImage

         final static Boolean isImage(Attachment $self)
        Returns:

        If the attachment type is image.

      • isVideo

         final static Boolean isVideo(Attachment $self)
        Returns:

        If the attachment type is video.

      • isAudio

         final static Boolean isAudio(Attachment $self)
        Returns:

        If the attachment type is video.

      • isFile

         final static Boolean isFile(Attachment $self)
        Returns:

        If the attachment type is file.

      • isGiphy

         final static Boolean isGiphy(Attachment $self)
        Returns:

        If the attachment type is giphy.

      • isImgur

         final static Boolean isImgur(Attachment $self)
        Returns:

        If the attachment type is imgur.

      • isLink

         final static Boolean isLink(Attachment $self)
        Returns:

        If the attachment type is link.

      • isAudioRecording

         final static Boolean isAudioRecording(Attachment $self)
        Returns:

        If the attachment type is audio recording.