Class Image


public class Image extends BaseModel
Data associated with an image found within a message.
  • Constructor Details

    • Image

      public Image()
  • Method Details

    • src

      public String src()
      Gets the value of the `src` attribute of the image.
      Returns:
      The value of the `src` attribute of the image.
    • alt

      public String alt()
      Gets the `alt` text (alternative text), used to describe the image.
      Returns:
      The `alt` text (alternative text).