bitrix-sending
v0.0.1
Published
Bitrix sending module
Downloads
4
Readme
bitrix-sending
Bitrix sending module
Install
npm install bitrix-sending --save
Using
In your config/application.json
{
"bitrix": {
"domain": "https://example.bitrix24.by",
"client_id": "local.57417babee5256.00000000",
"client_secret": "q1SVOBD6o1qqqqqqqq1o3kw8dNPm64mMxb1MC9ige4gbQ5QUlC",
"app_link": "https://example.dev/"
}
}
In your controller
var bitrix = require('bitrix-sending');
bitrix.send('text message', 'userId', 'token');