com.slack.api.model.block.element.ImageElement Maven / Gradle / Ivy
package com.slack.api.model.block.element;
import com.slack.api.model.block.ContextBlockElement;
import lombok.*;
/**
* https://api.slack.com/reference/block-kit/block-elements#image
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ImageElement extends BlockElement implements ContextBlockElement {
public static final String TYPE = "image";
private final String type = TYPE;
/**
* The URL of the image to be displayed.
*/
private String imageUrl;
/**
* A plain-text summary of the image. This should not contain any markup.
*/
private String altText;
private String fallback;
private Integer imageWidth;
private Integer imageHeight;
private Integer imageBytes;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy