JSSDK
The Lansenger JSSDK provides H5 apps with client native capability interfaces, including device, business, UI, tool, and audio/video capabilities.
JSSDK Capability Categories
Device
- Get device information
- Network status
- Make phone calls
- Scan
- Get current location
Business
- Select contacts, open contact cards, add contacts
- Select departments
- Create group conversations, open group conversations
- Select conversations
- Select local files, select cloud drive files
- Get all people under a branch
UI
- Set navigation bar title, background color, font color (black or white only)
- Set status bar background color and font color
- Open and close the current window
- Select and reset screen orientation
Tools
- Custom sharing
- Upload files to third-party services
- Download files to local storage
- File preview
- Save files
- Monitor file upload and download progress
Audio/Video
- Initiate video call
- Initiate voice call
For detailed API documentation, see the Developer Documentation - Frontend API.
AppLink Protocol
The AppLink protocol enables quickly opening the Lansenger client or specific features from inside or outside Lansenger.
Supported Features
| Category | Supported Features |
|---|---|
| Conversations | Direct message, group chat, official account, app bot, locate specific message |
| Contact Card | Group card, user card |
| Messages | Message list page |
| Official Accounts | Official account details |
| Apps | Workplace app center, specific app |
| Branches | Contacts specific branch details |
| Scan | Scan page |
| Me | Me page, my QR code (mobile) |
| Articles | Specific official account article |
| Live Streaming | Live stream plaza |
| Video Conference | Conference list, specific conference details |
| Calendar | Calendar home, specific schedule details, schedule creation page |
| Cloud Drive | Cloud drive home |
AppLink also supports opening different OEM-customized clients.

