com.github.seratch.jslack.api.model.block.element.ImageElement Maven / Gradle / Ivy
package com.github.seratch.jslack.api.model.block.element;
import com.github.seratch.jslack.api.model.block.ContextBlockElement;
import lombok.*;
/**
* https://api.slack.com/reference/block-kit/block-elements#image
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
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