Concepts

Concepts used in Slack book.

The following documentation is for Slack v1.0.11 (BDK).

Slack channel

Represents a reference to a channel in Slack.

Field Name
Description
Type

channel_id

The ID of the channel.

text

channel_name

The name of the channel.

text

Slack user

Represents a reference to a channel in Slack.

Field Name
Description
Type

user_id

The ID of the user.

text

user_name

The name of the user.

text

channel_id

The ID of the IM channel with the current user/bot.

text

Slack message

Represents a reference to a message in the Slack

Field Name
Description
Type

text

The message.

text

timestamp

The timestamp of the message.

number

meta

Metadata of the message

json

Slack action block

Represents an action block in Slack.

Field Name
Description
Type

block_id

The ID of the block.

optional[text]

elements

The elements of the action.

optional[list of list of slack button element or slack checkbox element or slack date picker element or slack image element or slack markdown element? or slack overflow element or slack static select element]

Slack context block

Represents a context block in Slack.

Field Name
Description
Type

block_id

The ID of the block.

optional[text]

elements

The elements of the context block.

optional[list of list of slack button element or slack checkbox element or slack date picker element or slack image element or slack markdown element? or slack overflow element or slack static select element]

Slack divider block

Represents a divider block in Slack.

Field Name
Description
Type

block_id

The ID of the block.

optional[text]

Slack header block

Represents a header block in Slack.

Field Name
Description
Type

text

The text of the header.

text

block_id

The ID of the block.

optional[text]

Slack image block

Represents an image block in Slack.

Field Name
Description
Type

image_url

The URL of the image.

text

alt_text

The alt text for the image.

text

block_id

The ID of the block.

optional[text]

Slack markdown block

Represents a markdown block in Slack.

Field Name
Description
Type

text

The text of the markdown block.

text

block_id

The ID of the block.

optional[text]

Slack section block

Represents a section block in Slack.

Field Name
Description
Type

text

The text of the section.

optional[text]

fields

The fields of the section.

optional[slack markdown element? or text]

accessory

The accessory of the section.

optional[slack button element or slack checkbox element or slack date picker element or slack image element or slack markdown element? or slack overflow element or slack static select element]

block_id

The ID of the block.

optional[text]

Slack attachment

Represents a reference to an attachment in the Slack

Field Name
Description
Type

file_name

The name of the attachment.

text

data

The File object

file

Last updated

Was this helpful?