File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -812,6 +812,20 @@ def __init__(
812812 block_id : Optional [str ] = None ,
813813 ** others : dict ,
814814 ):
815+ """A discrete action or tool call.
816+ https://docs.slack.dev/reference/block-kit/blocks/task-card-block/
817+
818+ Args:
819+ block_id: A string acting as a unique identifier for a block. If not specified, one will be generated.
820+ Maximum length for this field is 255 characters.
821+ block_id should be unique for each message and each iteration of a message.
822+ If a message is updated, use a new block_id.
823+ task_id (required): ID for the task
824+ title (required): Title of the task in plain text
825+ details: Details of the task in the form of a single "rich_text" entity.
826+ output: Output of the task in the form of a single "rich_text" entity.
827+ sources: List of sources used to generate a response
828+ """
815829 super ().__init__ (type = self .type , block_id = block_id )
816830 show_unknown_key_warning (self , others )
817831
You can’t perform that action at this time.
0 commit comments