Skip to content

cjh980402/kakao-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kakao-link

NPM Version NPM Downloads

Installing

npm install kakao-link

Warning: This package is only supported on Node 16.5+. since 2.0.0. If you use under than Node 16.5+, you should use 1.2.0.

GitHub

Example

Initialization and send kakaolink

const KakaoLink = require('kakao-link');
const kakaoLink = new KakaoLink(JS_KEY, DOMAIN);

(async () => {
    await kakaoLink.login(BOT_ID, BOT_PW);
    await kakaoLink.send(
        ROOM_NAME,
        {
            link_ver: '4.0',
            template_id: TEMPLATE_ID,
            template_args: {
                TEMPLATE_ARGS
            }
        },
        'custom'
    );
})();

About

Send kakaolink in Node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published