http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-slack
/
org.http4k.connect.slack.model
/
Block
Block
@
JsonSerializable
data
class
Block
(
val
text
:
Text
?
=
null
,
val
fields
:
List
<
Text
>
?
=
null
,
val
type
:
BlockType
=
header
,
val
expand
:
Boolean
?
=
null
,
val
elements
:
List
<
BlockElement
>
?
=
null
)
(
source
)
Members
Constructors
Block
Link copied to clipboard
constructor
(
text
:
Text
?
=
null
,
fields
:
List
<
Text
>
?
=
null
,
type
:
BlockType
=
header
,
expand
:
Boolean
?
=
null
,
elements
:
List
<
BlockElement
>
?
=
null
)
Properties
elements
Link copied to clipboard
val
elements
:
List
<
BlockElement
>
?
expand
Link copied to clipboard
val
expand
:
Boolean
?
fields
Link copied to clipboard
val
fields
:
List
<
Text
>
?
text
Link copied to clipboard
val
text
:
Text
?
type
Link copied to clipboard
val
type
:
BlockType