All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slack.api.model.kotlin_extension.block.dsl.ContextBlockElementDsl.kt Maven / Gradle / Ivy

package com.slack.api.model.kotlin_extension.block.dsl

import com.slack.api.model.kotlin_extension.block.BlockLayoutBuilder
import com.slack.api.model.kotlin_extension.block.composition.dsl.TextObjectDsl

@BlockLayoutBuilder
interface ContextBlockElementDsl : TextObjectDsl {
    /**
     * An element to insert an image as part of a larger block of content. If you want a block with only an image in
     * it, you're looking for the image block.
     *
     * @see Image element documentation
     */
    fun image(
        imageUrl: String? = null,
        altText: String? = null,
        fallback: String? = null,
        imageWidth: Int? = null,
        imageHeight: Int? = null,
        imageBytes: Int? = null
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy