Spaces:
Running
Running
File size: 748 Bytes
3a6714e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | const apiCaller = require('./skills/api_caller');
require('dotenv').config();
const testTelegram = async () => {
const chatId = process.env.TELEGRAM_CHAT_ID;
const message = "<b>VinOS Strategy Lab Live!</b>\nHello Dee! This is your official notification that the VinOS Strategy Lab is now active and ready for arbitrage. 🚀\n\n- Market Scanner: Online\n- Offer Architect: Active\n- Token Gashapon: Functional";
console.log("Attempting to send test message to ID:", chatId);
const result = await apiCaller.sendTelegramMessage(chatId, message);
if (result.success) {
console.log("Success! Message sent.");
} else {
console.error("Failed to send message:", result.error);
}
};
testTelegram();
|