mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
First pass at adding Telegram support (#4650)
This commit is contained in:
parent
9c0f44fc96
commit
7e3dce0ef7
8 changed files with 394 additions and 25 deletions
|
@ -37,9 +37,15 @@
|
|||
"apikey": "xxxxxxx",
|
||||
"from": "15555555555"
|
||||
}
|
||||
|
||||
// For URL, add this in config.json
|
||||
"sms": {
|
||||
"provider": "url",
|
||||
"url": "https://sample.com/?phone={{phone}}&msg={{message}}"
|
||||
}
|
||||
*/
|
||||
|
||||
// Construct a MeshAgent object, called upon connection
|
||||
// Construct a SMS server object
|
||||
module.exports.CreateMeshSMS = function (parent) {
|
||||
var obj = {};
|
||||
obj.parent = parent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue