Clean message

This commit is contained in:
2025-07-05 16:18:35 +07:00
parent b8ce7c0d37
commit 8096db495a

View File

@@ -108,16 +108,12 @@ public class UserController : BaseController
try
{
var welcomeMessage = $"🎉 **Trading Bot - Welcome!**\n\n" +
$"┌─────────────────────────────┐\n" +
$"│ CHANNEL CONFIGURED ✅ │\n" +
$"└─────────────────────────────┘\n\n" +
$"🎯 **Agent:** {user.Name}\n" +
$"📡 **Channel ID:** {telegramChannel}\n" +
$"⏰ **Setup Time:** {DateTime.UtcNow:MMM dd, yyyy • HH:mm:ss} UTC\n\n" +
$"🔔 **Notification Types:**\n" +
$"• 📈 Position Opens & Closes\n" +
$"• 🤖 Bot configuration changes\n\n" +
$"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n" +
$"🚀 **Welcome aboard!** Your trading notifications are now live.";
await _webhookService.SendMessage(welcomeMessage, telegramChannel);
@@ -149,16 +145,12 @@ public class UserController : BaseController
try
{
var testMessage = $"🚀 **Trading Bot - Channel Test**\n\n" +
$"┌─────────────────────────────┐\n" +
$"│ CONNECTION SUCCESSFUL ✅ │\n" +
$"└─────────────────────────────┘\n\n" +
$"🎯 **Agent:** {user.Name}\n" +
$"📡 **Channel ID:** {user.TelegramChannel}\n" +
$"⏰ **Test Time:** {DateTime.UtcNow:MMM dd, yyyy • HH:mm:ss} UTC\n\n" +
$"🔔 **You will receive notifications for:**\n" +
$"• 📈 Position Opens & Closes\n" +
$"• 🤖 Bot configuration changes\n\n" +
$"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n" +
$"🎉 **Ready to trade!** Your notifications are now active.";
await _webhookService.SendMessage(testMessage, user.TelegramChannel);