Class StoryAttachment

    • Method Detail

      • getDescription

        public String getDescription()
        Returns text accompanying the attachment.
        Returns:
        Text accompanying the attachment.
      • setDescription

        public void setDescription​(String description)
        Returns text accompanying the attachment.
      • getMedia

        public StoryAttachment.Media getMedia()
        Returns media object (photo, link etc.) contained in the attachment.
        Returns:
        Media object (photo, link etc.) contained in the attachment.
      • getTitle

        public String getTitle()
        Returns title of the attachment.
        Returns:
        Title of the attachment.
      • setTitle

        public void setTitle​(String title)
        Returns title of the attachment.
      • getUrl

        public String getUrl()
        Returns URL of the attachment.
        Returns:
        URL of the attachment.
      • setUrl

        public void setUrl​(String url)
        Returns URL of the attachment.
      • getSubAttachments

        public StoryAttachment.Attachments getSubAttachments()
        Returns list of subattachments that are associated with this attachment.
        Returns:
        List of subattachments that are associated with this attachment.