Tencent Push Notification Service Configuration
For customers who cannot use APN or FCM, Medable incorporates the Tencent notification system.
Last updated
Was this helpful?
Was this helpful?
const notifications = require('notifications'),
payload = { key: 'value' },
options = {
message: 'message',
endpoints: {
push: {
tpns: {
upload_id: 'upload_id',
message_type: 'notify',
message: {
title: 'title',
content: 'content',
xg_media_resources: 'url',
android: {
n_ch_id: 'channelId',
n_ch_name: 'channelName',
ring: 1,
ring_raw: 'ringtoneFile',
vibrate: 0,
lights: 1,
clearable: 1
}
}
}
}
},
recipient: 'accountId'
}
return notifications.send(payload, options)