You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/english/reference/web-api/classes/Methods.md
+58-34Lines changed: 58 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
# Abstract Class: Methods
4
4
5
-
Defined in: [src/methods.ts:571](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L571)
5
+
Defined in: [src/methods.ts:573](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L573)
6
6
7
7
A class that defines all Web API methods, their arguments type, their response type, and binds those methods to the
8
8
`apiCall` class method.
@@ -23,7 +23,7 @@ A class that defines all Web API methods, their arguments type, their response t
23
23
readonlyadmin: object;
24
24
```
25
25
26
-
Defined in: [src/methods.ts:584](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L584)
26
+
Defined in: [src/methods.ts:586](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L586)
27
27
28
28
#### analytics
29
29
@@ -1558,7 +1558,7 @@ Unpublish workflows within the team or enterprise.
1558
1558
readonlyapi: object;
1559
1559
```
1560
1560
1561
-
Defined in: [src/methods.ts:1349](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1349)
1561
+
Defined in: [src/methods.ts:1351](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1351)
1562
1562
1563
1563
#### test
1564
1564
@@ -1582,7 +1582,7 @@ Checks API calling code.
1582
1582
readonlyapps: object;
1583
1583
```
1584
1584
1585
-
Defined in: [src/methods.ts:1386](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1386)
1585
+
Defined in: [src/methods.ts:1388](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1388)
1586
1586
1587
1587
#### connections
1588
1588
@@ -1730,7 +1730,7 @@ Uninstalls your app from a workspace.
1730
1730
readonlyassistant: object;
1731
1731
```
1732
1732
1733
-
Defined in: [src/methods.ts:1357](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1357)
1733
+
Defined in: [src/methods.ts:1359](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1359)
1734
1734
1735
1735
#### threads
1736
1736
@@ -1788,7 +1788,7 @@ Set the title of the thread. This is shown when a user views the app's chat hist
1788
1788
readonlyauth: object;
1789
1789
```
1790
1790
1791
-
Defined in: [src/methods.ts:1448](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1448)
1791
+
Defined in: [src/methods.ts:1450](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1450)
Defined in: [src/methods.ts:1464](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1464)
1841
+
Defined in: [src/methods.ts:1466](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1466)
1842
1842
1843
1843
#### add
1844
1844
@@ -1904,7 +1904,7 @@ Remove bookmark from a channel.
1904
1904
readonlybots: object;
1905
1905
```
1906
1906
1907
-
Defined in: [src/methods.ts:1487](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1487)
1907
+
Defined in: [src/methods.ts:1489](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1489)
1908
1908
1909
1909
#### info
1910
1910
@@ -1928,7 +1928,7 @@ Gets information about a bot user.
1928
1928
readonlycalls: object;
1929
1929
```
1930
1930
1931
-
Defined in: [src/methods.ts:1495](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1495)
1931
+
Defined in: [src/methods.ts:1497](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1497)
1932
1932
1933
1933
#### add
1934
1934
@@ -2020,7 +2020,7 @@ Updates information about a Call.
2020
2020
readonlycanvases: object;
2021
2021
```
2022
2022
2023
-
Defined in: [src/methods.ts:1529](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1529)
2023
+
Defined in: [src/methods.ts:1531](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1531)
2024
2024
2025
2025
#### access
2026
2026
@@ -2126,7 +2126,7 @@ Find sections matching the provided criteria.
2126
2126
readonlychat: object;
2127
2127
```
2128
2128
2129
-
Defined in: [src/methods.ts:1569](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1569)
2129
+
Defined in: [src/methods.ts:1571](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1571)
2130
2130
2131
2131
#### appendStream
2132
2132
@@ -2312,7 +2312,7 @@ Updates a message.
2312
2312
readonlyconversations: object;
2313
2313
```
2314
2314
2315
-
Defined in: [src/methods.ts:1645](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1645)
2315
+
Defined in: [src/methods.ts:1647](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1647)
Defined in: [src/methods.ts:1838](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1838)
2737
+
Defined in: [src/methods.ts:1840](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1840)
2738
2738
2739
2739
#### open
2740
2740
@@ -2758,7 +2758,7 @@ Open a dialog with a user.
2758
2758
readonlydnd: object;
2759
2759
```
2760
2760
2761
-
Defined in: [src/methods.ts:1846](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1846)
2761
+
Defined in: [src/methods.ts:1848](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1848)
2762
2762
2763
2763
#### endDnd
2764
2764
@@ -2838,7 +2838,7 @@ Retrieves the Do Not Disturb status for up to 50 users on a team.
2838
2838
readonlyemoji: object;
2839
2839
```
2840
2840
2841
-
Defined in: [src/methods.ts:1874](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1874)
2841
+
Defined in: [src/methods.ts:1876](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1876)
2842
2842
2843
2843
#### list
2844
2844
@@ -2856,13 +2856,37 @@ Lists custom emoji for a team.
2856
2856
2857
2857
***
2858
2858
2859
+
### entity
2860
+
2861
+
```ts
2862
+
readonlyentity: object;
2863
+
```
2864
+
2865
+
Defined in: [src/methods.ts:1884](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1884)
Defined in: [src/methods.ts:1882](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1882)
2889
+
Defined in: [src/methods.ts:1895](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1895)
2866
2890
2867
2891
#### comments
2868
2892
@@ -3121,7 +3145,7 @@ as multiple file uploads property.
3121
3145
readonlyfunctions: object;
3122
3146
```
3123
3147
3124
-
Defined in: [src/methods.ts:1991](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L1991)
3148
+
Defined in: [src/methods.ts:2004](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2004)
3125
3149
3126
3150
#### completeError
3127
3151
@@ -3159,7 +3183,7 @@ Signal the successful completion of a Custom Function.
3159
3183
readonlymigration: object;
3160
3184
```
3161
3185
3162
-
Defined in: [src/methods.ts:2010](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2010)
3186
+
Defined in: [src/methods.ts:2023](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2023)
3163
3187
3164
3188
#### exchange
3165
3189
@@ -3183,7 +3207,7 @@ For Enterprise Grid workspaces, map local user IDs to global user IDs.
3183
3207
readonlyoauth: object;
3184
3208
```
3185
3209
3186
-
Defined in: [src/methods.ts:2018](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2018)
3210
+
Defined in: [src/methods.ts:2031](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2031)
3187
3211
3188
3212
#### ~~access~~
3189
3213
@@ -3245,7 +3269,7 @@ Exchanges a legacy access token for a new expiring access token and refresh toke
3245
3269
readonlyopenid: object;
3246
3270
```
3247
3271
3248
-
Defined in: [src/methods.ts:2039](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2039)
3272
+
Defined in: [src/methods.ts:2052](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2052)
3249
3273
3250
3274
#### connect
3251
3275
@@ -3289,7 +3313,7 @@ Get the identity of a user who has authorized [Sign in with Slack](https://docs.
3289
3313
readonlypins: object;
3290
3314
```
3291
3315
3292
-
Defined in: [src/methods.ts:2057](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2057)
3316
+
Defined in: [src/methods.ts:2070](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2070)
3293
3317
3294
3318
#### add
3295
3319
@@ -3341,7 +3365,7 @@ Un-pins an item from a channel.
3341
3365
readonlyreactions: object;
3342
3366
```
3343
3367
3344
-
Defined in: [src/methods.ts:2075](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2075)
3368
+
Defined in: [src/methods.ts:2088](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2088)
3345
3369
3346
3370
#### add
3347
3371
@@ -3407,7 +3431,7 @@ Removes a reaction from an item.
3407
3431
readonlyreminders: object;
3408
3432
```
3409
3433
3410
-
Defined in: [src/methods.ts:2100](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2100)
3434
+
Defined in: [src/methods.ts:2113](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2113)
3411
3435
3412
3436
#### add
3413
3437
@@ -3487,7 +3511,7 @@ Lists all reminders created by or for a given user.
3487
3511
readonlyrtm: object;
3488
3512
```
3489
3513
3490
-
Defined in: [src/methods.ts:2128](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2128)
3514
+
Defined in: [src/methods.ts:2141](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2141)
3491
3515
3492
3516
#### connect
3493
3517
@@ -3529,7 +3553,7 @@ Use `rtm.connect` instead. See [our post on retiring \`rtm.start\`](https://docs
3529
3553
readonlysearch: object;
3530
3554
```
3531
3555
3532
-
Defined in: [src/methods.ts:2142](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2142)
3556
+
Defined in: [src/methods.ts:2155](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2155)
3533
3557
3534
3558
#### all
3535
3559
@@ -3581,7 +3605,7 @@ Searches for messages matching a query.
3581
3605
readonlystars: object;
3582
3606
```
3583
3607
3584
-
Defined in: [src/methods.ts:2384](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2384)
3608
+
Defined in: [src/methods.ts:2397](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2397)
3585
3609
3586
3610
#### ~~add~~
3587
3611
@@ -3648,7 +3672,7 @@ See [our post on stars and the Later list](https://docs.slack.dev/changelog/2023
3648
3672
readonlyteam: object;
3649
3673
```
3650
3674
3651
-
Defined in: [src/methods.ts:2160](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2160)
3675
+
Defined in: [src/methods.ts:2173](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2173)
3652
3676
3653
3677
#### accessLogs
3654
3678
@@ -3808,7 +3832,7 @@ Retrieve a team's profile.
3808
3832
readonlytooling: object;
3809
3833
```
3810
3834
3811
-
Defined in: [src/methods.ts:2231](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2231)
3835
+
Defined in: [src/methods.ts:2244](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2244)
3812
3836
3813
3837
#### tokens
3814
3838
@@ -3838,7 +3862,7 @@ Exchanges a refresh token for a new app configuration token.
3838
3862
readonlyusergroups: object;
3839
3863
```
3840
3864
3841
-
Defined in: [src/methods.ts:2241](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2241)
3865
+
Defined in: [src/methods.ts:2254](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2254)
3842
3866
3843
3867
#### create
3844
3868
@@ -3952,7 +3976,7 @@ Update the list of users in a User Group.
3952
3976
readonlyusers: object;
3953
3977
```
3954
3978
3955
-
Defined in: [src/methods.ts:2284](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2284)
3979
+
Defined in: [src/methods.ts:2297](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2297)
3956
3980
3957
3981
#### conversations
3958
3982
@@ -4142,7 +4166,7 @@ Manually sets user presence.
4142
4166
readonlyviews: object;
4143
4167
```
4144
4168
4145
-
Defined in: [src/methods.ts:2354](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2354)
4169
+
Defined in: [src/methods.ts:2367](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2367)
4146
4170
4147
4171
#### open
4148
4172
@@ -4208,7 +4232,7 @@ Update an existing view.
4208
4232
readonlyworkflows: object;
4209
4233
```
4210
4234
4211
-
Defined in: [src/methods.ts:2408](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2408)
4235
+
Defined in: [src/methods.ts:2421](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L2421)
Defined in: [src/methods.ts:581](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L581)
4426
+
Defined in: [src/methods.ts:583](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L583)
Defined in: [src/methods.ts:582](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L582)
4511
+
Defined in: [src/methods.ts:584](https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/methods.ts#L584)
0 commit comments