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

com.slack.api.model.block.RichTextBlock Maven / Gradle / Ivy

There is a newer version: 1.44.1
Show newest version
package com.slack.api.model.block;

import com.slack.api.model.block.element.BlockElement;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * https://api.slack.com/changelog/2019-09-what-they-see-is-what-you-get-and-more-and-less
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RichTextBlock implements LayoutBlock {
    public static final String TYPE = "rich_text";
    private final String type = TYPE;
    @Builder.Default
    private List elements = new ArrayList<>();
    private String blockId;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy