Class StickerContent

  • All Implemented Interfaces:
    EventContent

    public class StickerContent
    extends Object
    implements EventContent
    This message represents a single sticker image.
    • Field Detail

      • body

        private String body
        Required. A textual representation or associated description of the sticker image. This could be the alt text of the original image, or a message to accompany and further describe the sticker.
      • info

        private ImageInfo info
        Required. Metadata about the image referred to in url including a thumbnail representation.
      • url

        private String url
        Required. The URL to the sticker image. This must be a valid mxc:// URI.
    • Constructor Detail

      • StickerContent

        public StickerContent()
    • Method Detail

      • getBody

        public String getBody()
      • setBody

        public void setBody​(String body)
      • setInfo

        public void setInfo​(ImageInfo info)
      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)