mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	XMPP documentation fix.
This commit is contained in:
		
							parent
							
								
									527f224810
								
							
						
					
					
						commit
						b9aace76fc
					
				
					 2 changed files with 27 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,7 @@ Note the "messaging" section in the config.json. For Telegram user login, it loo
 | 
			
		|||
{
 | 
			
		||||
  "messaging": {
 | 
			
		||||
    "telegram": {
 | 
			
		||||
      "apiid": 00000000,
 | 
			
		||||
      "apiid": 0,
 | 
			
		||||
      "apihash": "00000000000000000000000",
 | 
			
		||||
      "session": "aaaaaaaaaaaaaaaaaaaaaaa"
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -88,10 +88,10 @@ For XMPP integration, you need to provide MeshCentral with a XMPP server, userna
 | 
			
		|||
{
 | 
			
		||||
  "messaging": {
 | 
			
		||||
    "xmpp": {
 | 
			
		||||
      service: "xmppserver.com",
 | 
			
		||||
      credentials: {
 | 
			
		||||
        username: 'username',
 | 
			
		||||
        password: 'password'
 | 
			
		||||
      "service": "xmppserver.com",
 | 
			
		||||
      "credentials": {
 | 
			
		||||
        "username": "username",
 | 
			
		||||
        "password": "password"
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,41 +17,41 @@
 | 
			
		|||
/*
 | 
			
		||||
// For Telegram user login, add this in config.json
 | 
			
		||||
"messaging": {
 | 
			
		||||
    "telegram": {
 | 
			
		||||
        "apiid": 00000000,
 | 
			
		||||
        "apihash": "00000000000000000000000",
 | 
			
		||||
        "session": "aaaaaaaaaaaaaaaaaaaaaaa"
 | 
			
		||||
    }
 | 
			
		||||
  "telegram": {
 | 
			
		||||
    "apiid": 00000000,
 | 
			
		||||
    "apihash": "00000000000000000000000",
 | 
			
		||||
    "session": "aaaaaaaaaaaaaaaaaaaaaaa"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// For Telegram bot login, add this in config.json
 | 
			
		||||
"messaging": {
 | 
			
		||||
    "telegram": {
 | 
			
		||||
        "apiid": 00000000,
 | 
			
		||||
        "apihash": "00000000000000000000000",
 | 
			
		||||
        "bottoken": "00000000:aaaaaaaaaaaaaaaaaaaaaaaa"
 | 
			
		||||
    }
 | 
			
		||||
  "telegram": {
 | 
			
		||||
    "apiid": 00000000,
 | 
			
		||||
    "apihash": "00000000000000000000000",
 | 
			
		||||
    "bottoken": "00000000:aaaaaaaaaaaaaaaaaaaaaaaa"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// For Discord login, add this in config.json
 | 
			
		||||
"messaging": {
 | 
			
		||||
    "discord": {
 | 
			
		||||
      "inviteurl": "https://discord.gg/xxxxxxxxx",
 | 
			
		||||
      "token": "xxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxx"
 | 
			
		||||
    }
 | 
			
		||||
  "discord": {
 | 
			
		||||
    "inviteurl": "https://discord.gg/xxxxxxxxx",
 | 
			
		||||
    "token": "xxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxx"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// For XMPP login, add this in config.json
 | 
			
		||||
"messaging": {
 | 
			
		||||
{
 | 
			
		||||
  "messaging": {
 | 
			
		||||
    "xmpp": {
 | 
			
		||||
        service: "xmppserver.com",
 | 
			
		||||
        //domain: "xmppserver.com",
 | 
			
		||||
        //resource: "example",
 | 
			
		||||
        credentials: {
 | 
			
		||||
            username: 'username',
 | 
			
		||||
            password: 'password'
 | 
			
		||||
        }
 | 
			
		||||
      "service": "xmppserver.com",
 | 
			
		||||
      "credentials": {
 | 
			
		||||
        "username": "username",
 | 
			
		||||
        "password": "password"
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue