Fix: Remove Telegram link preview
This commit is contained in:
1 parent
22e0429094
commit
d10f6dfd6d
1 file changed
+4
-1
@@ -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