Skip to content

Commit

Permalink
Disable Link Previews | sendMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
Malith-Rukshan committed Apr 17, 2024
1 parent e07c505 commit 4bba7f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TelegramBotAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default class TelegramBotAPI {
chat_id: chatId,
text: text,
parse_mode: "Markdown",
disable_web_page_preview:true,
...(inlineKeyboard && { reply_markup: { inline_keyboard: inlineKeyboard } })
});
}
Expand Down

0 comments on commit 4bba7f2

Please sign in to comment.