# / # SERVERS # / # Sezione dedicata alle impostazioni di Telegram [telegram] [telegram.mytelegram] # Token fornito da BotFather per il tuo bot Telegram Token="your_token_from_botfather" # Formato del nickname remoto, come verrà mostrato il tuo messaggio quando è inoltrato RemoteNickFormat="<{NICK}> " # Formato del messaggio MessageFormat="HTMLNick :" # Formato per le citazioni nei messaggi QuoteFormat="{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})" # Limite di lunghezza per le citazioni, per evitare messaggi troppo lunghi QuoteLengthLimit=46 # Ignora i messaggi che iniziano con "/", tipicamente comandi bot IgnoreMessages="^/" # Sezione dedicata alle impostazioni di XMPP [xmpp] [xmpp.myxmpp] # Indirizzo del server XMPP Server="jabber.example.com:5222" # ID utente per l'accesso a XMPP Jid="user@example.com" # Password per l'accesso a XMPP Password="yourpass" # Indirizzo per la conferenza MUC su XMPP Muc="conference.jabber.example.com" # Nickname del bot su XMPP Nick="xmppbot" # Formato del nickname remoto per XMPP RemoteNickFormat="[{PROTOCOL}] <{NICK}> " # / # GATEWAYS # / # Configurazione del gateway per il collegamento tra canali [[gateway]] # Nome unico per il gateway name="YourUniqueGateWayName" # Attiva o disattiva il gateway enable=true # Impostazioni di input/output per il gateway [[gateway.inout]] # Account Telegram collegato account="telegram.mytelegram" # ID del canale Telegram channel="-100xxx" [[gateway.inout]] # Account XMPP collegato account="xmpp.myxmpp" # Nome del canale XMPP channel="channel-name" [[gateway]] # Altra configurazione del gateway con le stesse impostazioni name="YourUniqueGateWayName" enable=true [[gateway.inout]] account="telegram.mytelegram" channel="-100xxx" [[gateway.inout]] account="xmpp.myxmpp" channel="channel-name"