mirror of
https://github.com/Finsys/dockhand.git
synced 2026-06-17 19:09:33 +03:00
Fix: Remove Telegram link preview
This commit is contained in:
@@ -301,7 +301,10 @@ async function sendTelegram(appriseUrl: string, payload: NotificationPayload): P
|
|||||||
chat_id: chatId,
|
chat_id: chatId,
|
||||||
text: `*${escapedTitle}*${envTag}\n${escapedMessage}`,
|
text: `*${escapedTitle}*${envTag}\n${escapedMessage}`,
|
||||||
...(topicId ? { message_thread_id: topicId } : {}),
|
...(topicId ? { message_thread_id: topicId } : {}),
|
||||||
parse_mode: 'Markdown'
|
parse_mode: 'Markdown',
|
||||||
|
link_preview_options: {
|
||||||
|
is_disabled: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user