@larksuiteoapi/node-sdk 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
All of these make the overall development experience poor. In order to make the open capability easy to use, we have written this SDK, which integrates all the verbose logic into built-in processing, provides a complete type hints, and provides external semantics. Programming interface to improve coding experience.
|
|
8
8
|
|
|
9
9
|
## Concept
|
|
10
|
-
- Development documentation: A reference to the open interface of the open platform, **
|
|
10
|
+
- Development documentation: A reference to the open interface of the open platform, **a must-see for developers, you can use the search function to query documents efficiently**. [More introduction instructions](https://open.feishu.cn/document/) .
|
|
11
11
|
|
|
12
12
|
- Developer background: The management background of the developer's development application, [more introduction](https://open.feishu.cn/app/).
|
|
13
13
|
|
|
@@ -87,13 +87,13 @@ For store apps, the specified appType that needs to be displayed is lark.AppType
|
|
|
87
87
|
```typescript
|
|
88
88
|
import * as lark from '@larksuiteoapi/node-sdk';
|
|
89
89
|
|
|
90
|
-
const client = new lark.
|
|
90
|
+
const client = new lark.Client({
|
|
91
91
|
appId: 'app id',
|
|
92
92
|
appSecret: 'app secret',
|
|
93
93
|
appType: lark.AppType.ISV,
|
|
94
94
|
});
|
|
95
95
|
````
|
|
96
|
-
**When using the client of the created store application to initiate an API call, you need to manually pass the [tenant_key](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g#d15ab5d)**, you can Use lark.withTenantKey to do it:
|
|
96
|
+
**When using the client of the created store application to initiate an API call, you need to manually pass the [tenant_key](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g#d15ab5d)**, you can Use `lark.withTenantKey` to do it:
|
|
97
97
|
```typescript
|
|
98
98
|
client.im.message.create({
|
|
99
99
|
params: {
|
|
@@ -449,4 +449,4 @@ new lark.AESCipher('encrypt key').decrypt('content');
|
|
|
449
449
|
MIT
|
|
450
450
|
|
|
451
451
|
## Contact Us
|
|
452
|
-
Click [Server SDK](https://open.feishu.cn/document/ukTMukTMukTM/uETO1YjLxkTN24SM5UjN) in the upper right corner of the page
|
|
452
|
+
Click [Server SDK](https://open.feishu.cn/document/ukTMukTMukTM/uETO1YjLxkTN24SM5UjN) in the upper right corner of the page 【Is this document helpful to you? 】Submit feedback
|