Options
All
  • Public
  • Public/Protected
  • All
Menu

Lark client API

Lark client API

Lark client JS API unofficial wrapper based on ECMAScript 6 Promise & TypeScript 4

CI & CD

NPM

Document

https://ideapp.dev/Lark-client-API/

Modules

  1. Utility
  2. Authorization
  3. Chat

Usage

app.js as your entry for example:

import { h5sdk, tt } from 'lark-client-api';

// in WebView
window.h5sdk.error(console.error);

h5sdk
.config({
// your configuration
})
.then(() => h5sdk.ready())
.then(() => {
// your logic
});

// in Mini App
tt.login({
// your configuration
}).then(() => {
// your logic
});

Inspired by

  1. WeChat JS-SDK Promise
  2. WeChat Mini-Program API Typings

Related with

Generated using TypeDoc