Skip to content

Commit 66b4523

Browse files
authored
docs: link to context actions block and related reference (#1789)
1 parent 9e08903 commit 66b4523

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

slack_sdk/models/blocks/basic_components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ def __init__(
551551
):
552552
"""
553553
A feedback button element object for either positive or negative feedback.
554+
https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element#button-object-fields
554555
555556
Args:
556557
text (required): An object containing some text. Maximum length for this field is 75 characters.

slack_sdk/models/blocks/block_elements.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ def __init__(
561561
**others: dict,
562562
):
563563
"""Buttons to indicate positive or negative feedback.
564+
https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element
564565
565566
Args:
566567
action_id (required): An identifier for this action.
@@ -650,6 +651,7 @@ def __init__(
650651
**others: dict,
651652
):
652653
"""An icon button to perform actions.
654+
https://docs.slack.dev/reference/block-kit/block-elements/icon-button-element
653655
654656
Args:
655657
action_id: An identifier for this action.

slack_sdk/models/blocks/blocks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ def __init__(
375375
**others: dict,
376376
):
377377
"""Displays actions as contextual info, which can include both feedback buttons and icon buttons.
378+
https://docs.slack.dev/reference/block-kit/blocks/context-actions-block
378379
379380
Args:
380381
elements (required): An array of feedback_buttons or icon_button block elements. Maximum number of items is 5.

0 commit comments

Comments
 (0)