XMPP documentation fix.
This commit is contained in:
parent
527f224810
commit
b9aace76fc
|
@ -34,7 +34,7 @@ Note the "messaging" section in the config.json. For Telegram user login, it loo
|
||||||
{
|
{
|
||||||
"messaging": {
|
"messaging": {
|
||||||
"telegram": {
|
"telegram": {
|
||||||
"apiid": 00000000,
|
"apiid": 0,
|
||||||
"apihash": "00000000000000000000000",
|
"apihash": "00000000000000000000000",
|
||||||
"session": "aaaaaaaaaaaaaaaaaaaaaaa"
|
"session": "aaaaaaaaaaaaaaaaaaaaaaa"
|
||||||
}
|
}
|
||||||
|
@ -88,10 +88,10 @@ For XMPP integration, you need to provide MeshCentral with a XMPP server, userna
|
||||||
{
|
{
|
||||||
"messaging": {
|
"messaging": {
|
||||||
"xmpp": {
|
"xmpp": {
|
||||||
service: "xmppserver.com",
|
"service": "xmppserver.com",
|
||||||
credentials: {
|
"credentials": {
|
||||||
username: 'username',
|
"username": "username",
|
||||||
password: 'password'
|
"password": "password"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,41 +17,41 @@
|
||||||
/*
|
/*
|
||||||
// For Telegram user login, add this in config.json
|
// For Telegram user login, add this in config.json
|
||||||
"messaging": {
|
"messaging": {
|
||||||
"telegram": {
|
"telegram": {
|
||||||
"apiid": 00000000,
|
"apiid": 00000000,
|
||||||
"apihash": "00000000000000000000000",
|
"apihash": "00000000000000000000000",
|
||||||
"session": "aaaaaaaaaaaaaaaaaaaaaaa"
|
"session": "aaaaaaaaaaaaaaaaaaaaaaa"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For Telegram bot login, add this in config.json
|
// For Telegram bot login, add this in config.json
|
||||||
"messaging": {
|
"messaging": {
|
||||||
"telegram": {
|
"telegram": {
|
||||||
"apiid": 00000000,
|
"apiid": 00000000,
|
||||||
"apihash": "00000000000000000000000",
|
"apihash": "00000000000000000000000",
|
||||||
"bottoken": "00000000:aaaaaaaaaaaaaaaaaaaaaaaa"
|
"bottoken": "00000000:aaaaaaaaaaaaaaaaaaaaaaaa"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For Discord login, add this in config.json
|
// For Discord login, add this in config.json
|
||||||
"messaging": {
|
"messaging": {
|
||||||
"discord": {
|
"discord": {
|
||||||
"inviteurl": "https://discord.gg/xxxxxxxxx",
|
"inviteurl": "https://discord.gg/xxxxxxxxx",
|
||||||
"token": "xxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxx"
|
"token": "xxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxx"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For XMPP login, add this in config.json
|
// For XMPP login, add this in config.json
|
||||||
"messaging": {
|
{
|
||||||
|
"messaging": {
|
||||||
"xmpp": {
|
"xmpp": {
|
||||||
service: "xmppserver.com",
|
"service": "xmppserver.com",
|
||||||
//domain: "xmppserver.com",
|
"credentials": {
|
||||||
//resource: "example",
|
"username": "username",
|
||||||
credentials: {
|
"password": "password"
|
||||||
username: 'username',
|
}
|
||||||
password: 'password'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue