Socket
Socket
Sign inDemoInstall

td_sdk

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

td_sdk

this is sdk for td


Version published
Maintainers
1
Created
Source

tal jsapi

封装dingtalk-jsapi; 目前封装了ready、config、chooseConversationByCorpId三个api;

安装

npm 上安装.

npm install td_sdk
// 使用只需要引入Tal,api调用方式和参数于钉钉完全相同。

import Tal from 'td_sdk';

Tal.biz.chat.chooseConversationByCorpId({
    corpId: 'xxx', ////企业id,必须是用户所属的企业的corpid
    isAllowCreateGroup:false,
    filterNotOwnerGroup:false,
    onSuccess : function() {
                //onSuccess将在选择结束之后调用
            /*{
                chatId: 'xxxx',
                title:'xxx'
            }*/
    },
        onFail : function() {}
    })

Keywords

FAQs

Package last updated on 09 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc