fix: use template literals for Telegram message formatting
This commit is contained in:
@@ -259,7 +259,7 @@
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "579304651",
|
||||
"text": "={{ '🟢 TRADE OPENED\\n\\n📊 Symbol: ' + $('Parse Signal').item.json.symbol + '\\n' + ($('Parse Signal').item.json.direction === 'long' ? '📈' : '📉') + ' Direction: ' + $('Parse Signal').item.json.direction.toUpperCase() + '\\n⏰ Time: ' + $now.toFormat('HH:mm:ss') + '\\n\\n✅ Position is being monitored' }}",
|
||||
"text": "={{ `🟢 TRADE OPENED\\n\\n📊 Symbol: ${$('Parse Signal').item.json.symbol}\\n${$('Parse Signal').item.json.direction === 'long' ? '📈' : '📉'} Direction: ${$('Parse Signal').item.json.direction.toUpperCase()}\\n⏰ Time: ${$now.toFormat('HH:mm:ss')}\\n\\n✅ Position is being monitored` }}",
|
||||
"additionalFields": {
|
||||
"appendAttribution": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user