com.slack.api.model.block.ContextBlockElement Maven / Gradle / Ivy
package com.slack.api.model.block;
import com.slack.api.model.block.composition.TextObject;
import com.slack.api.model.block.element.ImageElement;
/**
* Specific interface to make context layout blocks' {@link ContextBlock
* elements} type-safe, because ContextBlock can only contain
* {@link ImageElement} and {@link TextObject} elements.
*
* Slack Block Kit Reference: Context
* Block's elements
*/
public interface ContextBlockElement {
String getType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy