Interface MessagePartImageUrl

All Superinterfaces:
MessagePart

@Experimental public interface MessagePartImageUrl extends MessagePart
Message content type representing a specific image.
Since:
5.2.240708
  • Method Details

    • create

      @NotNull static @NotNull MessagePartImageUrl create(@NotNull @NotNull String url)
      Creates a new MessagePartImageUrl.
      Parameters:
      url - The URL of the image.
      Returns:
      The new instance.
      Since:
      5.2.240708
    • getImageUrl

      @NotNull @NotNull String getImageUrl()
      The URL of the image.
      Returns:
      The image as URL string.
      Since:
      5.2.240708