Skip to content

Commit de8e9ec

Browse files
committed
chore(web-api): release @slack/web-api@7.10.0-aiAppsBeta.4
1 parent ffeb783 commit de8e9ec

File tree

139 files changed

+1145
-661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+1145
-661
lines changed

docs/english/reference/web-api/classes/Methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[@slack/web-api](../index.md) / Methods
22

3-
# Class: `abstract` Methods
3+
# Abstract Class: Methods
44

55
Defined in: [src/methods.ts:571](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L571)
66

docs/english/reference/web-api/classes/WebClient.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4603,6 +4603,56 @@ options
46034603
46044604
***
46054605
4606+
### chatStream()
4607+
4608+
```ts
4609+
chatStream(params): ChatStreamer;
4610+
```
4611+
4612+
Defined in: [src/WebClient.ts:537](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/WebClient.ts#L537)
4613+
4614+
Stream markdown text into a conversation.
4615+
4616+
#### Parameters
4617+
4618+
##### params
4619+
4620+
`Omit`\<[`ChatStartStreamArguments`](../interfaces/ChatStartStreamArguments.md) & `ChatStreamerOptions`, `"markdown_text"`\>
4621+
4622+
#### Returns
4623+
4624+
`ChatStreamer`
4625+
4626+
#### Description
4627+
4628+
The "chatStream" method starts a new chat stream in a coversation that can be appended to. After appending an entire message, the stream can be stopped with concluding arguments such as "blocks" for gathering feedback.
4629+
4630+
#### Example
4631+
4632+
```ts
4633+
const streamer = client.chatStream({
4634+
channel: "C0123456789",
4635+
thread_ts: "1700000001.123456",
4636+
recipient_team_id: "T0123456789",
4637+
recipient_user_id: "U0123456789",
4638+
});
4639+
await streamer.append({
4640+
markdown_text: "**hello wo",
4641+
});
4642+
await streamer.append({
4643+
markdown_text: "rld!**",
4644+
});
4645+
await streamer.stop();
4646+
```
4647+
4648+
#### See
4649+
4650+
- [https://docs.slack.dev/reference/methods/chat.startStream](https://docs.slack.dev/reference/methods/chat.startStream)
4651+
- [https://docs.slack.dev/reference/methods/chat.appendStream](https://docs.slack.dev/reference/methods/chat.appendStream)
4652+
- [https://docs.slack.dev/reference/methods/chat.stopStream](https://docs.slack.dev/reference/methods/chat.stopStream)
4653+
4654+
***
4655+
46064656
### emit()
46074657
46084658
```ts
@@ -4666,7 +4716,7 @@ listeners.
46664716
filesUploadV2(options): Promise<WebAPICallResult & object>;
46674717
```
46684718
4669-
Defined in: [src/WebClient.ts:526](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/WebClient.ts#L526)
4719+
Defined in: [src/WebClient.ts:558](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/WebClient.ts#L558)
46704720
46714721
This wrapper method provides an easy way to upload files using the following endpoints:
46724722

docs/english/reference/web-api/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @slack/web-api v7.10.0-aiAppsBeta.2
1+
# @slack/web-api v7.10.0-aiAppsBeta.4
22

33
## Enumerations
44

@@ -166,6 +166,7 @@
166166
- [Confirmable](interfaces/Confirmable.md)
167167
- [Confirmation](interfaces/Confirmation.md)
168168
- [ConfirmationDialog](interfaces/ConfirmationDialog.md)
169+
- [ContextActionsBlock](interfaces/ContextActionsBlock.md)
169170
- [ContextBlock](interfaces/ContextBlock.md)
170171
- [ConversationsApproveSharedInviteArguments](interfaces/ConversationsApproveSharedInviteArguments.md)
171172
- [ConversationsArchiveArguments](interfaces/ConversationsArchiveArguments.md)
@@ -206,6 +207,7 @@
206207
- [EmailInput](interfaces/EmailInput.md)
207208
- [EmojiChangedEvent](interfaces/EmojiChangedEvent.md)
208209
- [ExternalSelect](interfaces/ExternalSelect.md)
210+
- [FeedbackButtons](interfaces/FeedbackButtons.md)
209211
- [FileBlock](interfaces/FileBlock.md)
210212
- [FileChangeEvent](interfaces/FileChangeEvent.md)
211213
- [FileCommentDeletedEvent](interfaces/FileCommentDeletedEvent.md)
@@ -242,6 +244,7 @@
242244
- [GroupUnarchiveEvent](interfaces/GroupUnarchiveEvent.md)
243245
- [HeaderBlock](interfaces/HeaderBlock.md)
244246
- [HomeView](interfaces/HomeView.md)
247+
- [IconButton](interfaces/IconButton.md)
245248
- [IMCloseEvent](interfaces/IMCloseEvent.md)
246249
- [IMCreatedEvent](interfaces/IMCreatedEvent.md)
247250
- [IMHistoryChangedEvent](interfaces/IMHistoryChangedEvent.md)
@@ -251,6 +254,7 @@
251254
- [LinkSharedEvent](interfaces/LinkSharedEvent.md)
252255
- [LinkUnfurls](interfaces/LinkUnfurls.md)
253256
- [Logger](interfaces/Logger.md)
257+
- [MarkdownBlock](interfaces/MarkdownBlock.md)
254258
- [MaxItemsSelectable](interfaces/MaxItemsSelectable.md)
255259
- [MemberJoinedChannelEvent](interfaces/MemberJoinedChannelEvent.md)
256260
- [MemberLeftChannelEvent](interfaces/MemberLeftChannelEvent.md)
@@ -601,6 +605,7 @@
601605
- [ChatUpdateArguments](type-aliases/ChatUpdateArguments.md)
602606
- [ChatUpdateResponse](type-aliases/ChatUpdateResponse.md)
603607
- [ColorScheme](type-aliases/ColorScheme.md)
608+
- [ContextActionsBlockElement](type-aliases/ContextActionsBlockElement.md)
604609
- [ContextBlockElement](type-aliases/ContextBlockElement.md)
605610
- [ConversationFilter](type-aliases/ConversationFilter.md)
606611
- [ConversationsAcceptSharedInviteArguments](type-aliases/ConversationsAcceptSharedInviteArguments.md)

docs/english/reference/web-api/interfaces/Action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[@slack/web-api](../index.md) / Action
22

3-
# Interface: ~~Action~~
3+
# ~~Interface: Action~~
44

55
Defined in: node\_modules/@slack/types/dist/block-kit/extensions.d.ts:5
66

@@ -23,7 +23,7 @@ optional action_id: string;
2323
Defined in: node\_modules/@slack/types/dist/block-kit/extensions.d.ts:12
2424

2525
@description: An identifier for this action. You can use this when you receive an interaction payload to
26-
[identify the source of the action](https://api.slack.com/interactivity/handling#payloads). Should be unique
26+
[identify the source of the action](https://docs.slack.dev/interactivity/handling-user-interaction#payloads). Should be unique
2727
among all other `action_id`s in the containing block. Maximum length for this field is 255 characters.
2828

2929
***

docs/english/reference/web-api/interfaces/Actionable.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[@slack/web-api](../index.md) / Actionable
22

3-
# Interface: ~~Actionable~~
3+
# ~~Interface: Actionable~~
44

55
Defined in: node\_modules/@slack/types/dist/block-kit/extensions.d.ts:14
66

@@ -19,7 +19,9 @@ Defined in: node\_modules/@slack/types/dist/block-kit/extensions.d.ts:14
1919
- [`Datepicker`](Datepicker.md)
2020
- [`DateTimepicker`](DateTimepicker.md)
2121
- [`EmailInput`](EmailInput.md)
22+
- [`FeedbackButtons`](FeedbackButtons.md)
2223
- [`FileInput`](FileInput.md)
24+
- [`IconButton`](IconButton.md)
2325
- [`UsersSelect`](UsersSelect.md)
2426
- [`MultiUsersSelect`](MultiUsersSelect.md)
2527
- [`StaticSelect`](StaticSelect.md)
@@ -49,7 +51,7 @@ optional action_id: string;
4951
Defined in: node\_modules/@slack/types/dist/block-kit/extensions.d.ts:12
5052

5153
@description: An identifier for this action. You can use this when you receive an interaction payload to
52-
[identify the source of the action](https://api.slack.com/interactivity/handling#payloads). Should be unique
54+
[identify the source of the action](https://docs.slack.dev/interactivity/handling-user-interaction#payloads). Should be unique
5355
among all other `action_id`s in the containing block. Maximum length for this field is 255 characters.
5456

5557
#### Inherited from

docs/english/reference/web-api/interfaces/ActionsBlock.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Holds multiple interactive elements.
1010

1111
## See
1212

13-
[Actions block reference](https://api.slack.com/reference/block-kit/blocks#actions).
13+
[Actions block reference](https://docs.slack.dev/reference/block-kit/blocks/actions-block).
1414

1515
## Extends
1616

@@ -30,7 +30,7 @@ Defined in: node\_modules/@slack/types/dist/block-kit/blocks.d.ts:15
3030

3131
A string acting as a unique identifier for a block. If not specified, a `block_id` will be generated.
3232
You can use this `block_id` when you receive an interaction payload to
33-
[identify the source of the action](https://api.slack.com/interactivity/handling#payloads).
33+
[identify the source of the action](https://docs.slack.dev/interactivity/handling-user-interaction#payloads).
3434
Maximum length for this field is 255 characters. `block_id` should be unique for each message and each iteration of
3535
a message. If a message is updated, use a new `block_id`.
3636

docs/english/reference/web-api/interfaces/AdminAuthPolicyGetEntitiesArguments.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ The type of entity interacting with the policy.
5050

5151
#### Inherited from
5252

53-
```ts
54-
Partial.entity_type
55-
```
53+
[`AdminAuthPolicyAssignEntitiesArguments`](AdminAuthPolicyAssignEntitiesArguments.md).[`entity_type`](AdminAuthPolicyAssignEntitiesArguments.md#entity_type)
5654

5755
***
5856

docs/english/reference/web-api/interfaces/AdminFunctionsPermissionsSetArguments.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ List of encoded user IDs.
5858

5959
#### Inherited from
6060

61-
```ts
62-
Partial.user_ids
63-
```
61+
[`AdminConversationsInviteArguments`](AdminConversationsInviteArguments.md).[`user_ids`](AdminConversationsInviteArguments.md#user_ids)
6462

6563
***
6664

docs/english/reference/web-api/interfaces/AdminInviteRequestsApproveArguments.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ If using an org token, `team_id` is required.
4444

4545
#### Inherited from
4646

47-
```ts
48-
Required.team_id
49-
```
47+
[`AdminUsergroupsAddChannelsArguments`](AdminUsergroupsAddChannelsArguments.md).[`team_id`](AdminUsergroupsAddChannelsArguments.md#team_id)
5048

5149
***
5250

docs/english/reference/web-api/interfaces/AdminInviteRequestsApprovedListArguments.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ If using an org token, `team_id` is required.
7171

7272
#### Inherited from
7373

74-
```ts
75-
Required.team_id
76-
```
74+
[`AdminUsergroupsAddChannelsArguments`](AdminUsergroupsAddChannelsArguments.md).[`team_id`](AdminUsergroupsAddChannelsArguments.md#team_id)
7775

7876
***
7977

0 commit comments

Comments
 (0)