We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfbd847 commit ef9bfc6Copy full SHA for ef9bfc6
1 file changed
packages/web-api/test/types/methods/chat.test-d.ts
@@ -588,6 +588,16 @@ expectAssignable<Parameters<typeof web.chat.scheduledMessages.list>>([]); // no
588
// -- sad path
589
expectError(web.chat.startStream()); // lacking argument
590
expectError(web.chat.startStream({})); // empty argument
591
+expectError(
592
+ web.chat.startStream({
593
+ channel: 'C1234', // missing thread_ts
594
+ }),
595
+);
596
597
598
+ thread_ts: '1234.56', // missing channel
599
600
601
// -- happy path
602
expectAssignable<Parameters<typeof web.chat.startStream>>([
603
{
0 commit comments