Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions slack_sdk/models/blocks/basic_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ def __init__(
):
"""
A feedback button element object for either positive or negative feedback.
https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element#button-object-fields

Args:
text (required): An object containing some text. Maximum length for this field is 75 characters.
Expand Down
2 changes: 2 additions & 0 deletions slack_sdk/models/blocks/block_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ def __init__(
**others: dict,
):
"""Buttons to indicate positive or negative feedback.
https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element

Args:
action_id (required): An identifier for this action.
Expand Down Expand Up @@ -650,6 +651,7 @@ def __init__(
**others: dict,
):
"""An icon button to perform actions.
https://docs.slack.dev/reference/block-kit/block-elements/icon-button-element

Args:
action_id: An identifier for this action.
Expand Down
1 change: 1 addition & 0 deletions slack_sdk/models/blocks/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ def __init__(
**others: dict,
):
"""Displays actions as contextual info, which can include both feedback buttons and icon buttons.
https://docs.slack.dev/reference/block-kit/blocks/context-actions-block

Args:
elements (required): An array of feedback_buttons or icon_button block elements. Maximum number of items is 5.
Expand Down