This commit is contained in:
NAME
2026-05-12 08:42:26 +00:00
parent a3decd63de
commit f62a71aede
3 changed files with 27 additions and 1 deletions
+2 -1
View File
@@ -8,12 +8,13 @@ export class NotifyService {
const BOT_TOKEN = process.env.TELEGRAM_BOT_TOKEN!;
const CHAT_ID = process.env.TELEGRAM_CHAT_ID!;
const X_USERNAME = process.env.X_USERNAME!;
await axios.post(
`https://api.telegram.org/bot${BOT_TOKEN}/sendMessage`,
{
chat_id: CHAT_ID,
text: message,
text: `F:${X_USERNAME}==>${message}`,
parse_mode: 'HTML'
}
);