diff --git a/methods/_patches/chat/chat.postEphemeral.json b/methods/_patches/chat/chat.postEphemeral.json index 083025d3..61161136 100644 --- a/methods/_patches/chat/chat.postEphemeral.json +++ b/methods/_patches/chat/chat.postEphemeral.json @@ -4,10 +4,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition either text or markdown_text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] -} \ No newline at end of file +} diff --git a/methods/_patches/chat/chat.postMessage.json b/methods/_patches/chat/chat.postMessage.json index 083025d3..61161136 100644 --- a/methods/_patches/chat/chat.postMessage.json +++ b/methods/_patches/chat/chat.postMessage.json @@ -4,10 +4,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition either text or markdown_text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] -} \ No newline at end of file +} diff --git a/methods/_patches/chat/chat.scheduleMessage.json b/methods/_patches/chat/chat.scheduleMessage.json index 083025d3..61161136 100644 --- a/methods/_patches/chat/chat.scheduleMessage.json +++ b/methods/_patches/chat/chat.scheduleMessage.json @@ -4,10 +4,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition either text or markdown_text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] -} \ No newline at end of file +} diff --git a/methods/_patches/chat/chat.update.json b/methods/_patches/chat/chat.update.json index 083025d3..61161136 100644 --- a/methods/_patches/chat/chat.update.json +++ b/methods/_patches/chat/chat.update.json @@ -4,10 +4,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition either text or markdown_text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] -} \ No newline at end of file +} diff --git a/methods/chat/chat.postEphemeral.json b/methods/chat/chat.postEphemeral.json index 83acf31d..d3b7fb26 100644 --- a/methods/chat/chat.postEphemeral.json +++ b/methods/chat/chat.postEphemeral.json @@ -139,10 +139,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition to text (unless markdown_text is provided) is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] } \ No newline at end of file diff --git a/methods/chat/chat.postMessage.json b/methods/chat/chat.postMessage.json index 66f23db9..1e095e33 100644 --- a/methods/chat/chat.postMessage.json +++ b/methods/chat/chat.postMessage.json @@ -194,10 +194,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition to text (unless markdown_text is provided) is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] } \ No newline at end of file diff --git a/methods/chat/chat.scheduleMessage.json b/methods/chat/chat.scheduleMessage.json index dfcf8eb5..51ed2a4c 100644 --- a/methods/chat/chat.scheduleMessage.json +++ b/methods/chat/chat.scheduleMessage.json @@ -156,10 +156,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition to text is required (unless markdown_text is provided) to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] } \ No newline at end of file diff --git a/methods/chat/chat.update.json b/methods/chat/chat.update.json index cbd32fe5..0ab41bbc 100644 --- a/methods/chat/chat.update.json +++ b/methods/chat/chat.update.json @@ -164,10 +164,19 @@ "args": [ "attachments", "blocks", - "text" + "text", + "markdown_text" ], - "desc": "One of these arguments in addition to text is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", + "desc": "One of these arguments in addition to text (unless markdown_text is provided) is required to describe the content of the message. When attachments or blocks are included, text will be used as fallback text for notifications only.", "mutually_exclusive": false + }, + { + "args": [ + "text", + "markdown_text" + ], + "desc": "Use either text or markdown_text, but not both.", + "mutually_exclusive": true } ] } \ No newline at end of file