Skip to content

Commit 784d1d4

Browse files
authored
Merge pull request #84 from dblock/fix-chat-text-markdown-mutual-exclusion
Mark text/markdown_text arg_group as not required in chat methods
2 parents 38cb2f4 + 868b621 commit 784d1d4

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎methods/chat/chat.postEphemeral.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
"markdown_text"
152152
],
153153
"desc": "Use either text or markdown_text, but not both.",
154+
"required": false,
154155
"mutually_exclusive": true
155156
}
156157
]

‎methods/chat/chat.postMessage.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@
207207
"markdown_text"
208208
],
209209
"desc": "Use either text or markdown_text, but not both.",
210+
"required": false,
210211
"mutually_exclusive": true
211212
}
212213
]

‎methods/chat/chat.scheduleMessage.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
"markdown_text"
169169
],
170170
"desc": "Use either text or markdown_text, but not both.",
171+
"required": false,
171172
"mutually_exclusive": true
172173
}
173174
]

‎methods/chat/chat.update.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
"markdown_text"
184184
],
185185
"desc": "Use either text or markdown_text, but not both.",
186+
"required": false,
186187
"mutually_exclusive": true
187188
}
188189
]

0 commit comments

Comments
 (0)