https://github.com/mapleincode/dt-robot
钉钉机器人
https://github.com/mapleincode/dt-robot
Last synced: 9 months ago
JSON representation
钉钉机器人
- Host: GitHub
- URL: https://github.com/mapleincode/dt-robot
- Owner: mapleincode
- Created: 2020-12-31T02:16:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-18T04:40:47.000Z (almost 5 years ago)
- Last Synced: 2025-02-19T19:48:36.820Z (10 months ago)
- Language: TypeScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
simple sdk for dingtalk robot
## Usage
```typescript
import Robot from './index';
const token = 'token';
const secret = 'secret';
const robot = new Robot(token, secret);
const textMessage = robot.createTextMessage();
textMessage.setText('hello');
textMessage.appendMobiles('1888888888');
textMessage.send();
```